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 |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
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) |
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–2021 The Apache Software Foundation. All rights reserved.