public abstract static class JobProperties.Builder<T extends JobProperties.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
id |
protected String |
note |
protected JobState |
state |
protected Date |
updatedOn |
Constructor and Description |
---|
JobProperties.Builder() |
protected long id
protected Date updatedOn
protected JobState state
protected String note
protected abstract T self()
public T id(long id)
JobProperties.getId()
public T updatedOn(Date updatedOn)
JobProperties.getUpdatedOn()
public T state(JobState state)
JobProperties.getState()
public T note(String note)
JobProperties.getNote()
public JobProperties build()
public T fromJobProperties(JobProperties in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.