org.jclouds.gogrid.domain
Class JobProperties.Builder<T extends JobProperties.Builder<T>>

java.lang.Object
  extended by org.jclouds.gogrid.domain.JobProperties.Builder<T>
Enclosing class:
JobProperties

public abstract static class JobProperties.Builder<T extends JobProperties.Builder<T>>
extends Object


Field Summary
protected  long id
           
protected  String note
           
protected  JobState state
           
protected  Date updatedOn
           
 
Constructor Summary
JobProperties.Builder()
           
 
Method Summary
 JobProperties build()
           
 T fromJobProperties(JobProperties in)
           
 T id(long id)
           
 T note(String note)
           
protected abstract  T self()
           
 T state(JobState state)
           
 T updatedOn(Date updatedOn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected long id

updatedOn

protected Date updatedOn

state

protected JobState state

note

protected String note
Constructor Detail

JobProperties.Builder

public JobProperties.Builder()
Method Detail

self

protected abstract T self()

id

public T id(long id)
See Also:
JobProperties.getId()

updatedOn

public T updatedOn(Date updatedOn)
See Also:
JobProperties.getUpdatedOn()

state

public T state(JobState state)
See Also:
JobProperties.getState()

note

public T note(String note)
See Also:
JobProperties.getNote()

build

public JobProperties build()

fromJobProperties

public T fromJobProperties(JobProperties in)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.