public class Job extends CommonDTO
| Modifier and Type | Class and Description |
|---|---|
static class |
Job.Builder
A builder to create jobs.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Job(Job.Builder builder)
Constructor used by the builder.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.lang.String> |
getArchiveLocation()
Get the archive location for the job if there is one.
|
java.util.Optional<java.lang.String> |
getClusterName()
Get the name of the cluster running the job if there currently is one.
|
java.util.Optional<java.lang.String> |
getCommandName()
Get the name of the command running this job if there currently is one.
|
java.util.Optional<java.util.Date> |
getFinished()
Get the time the job finished.
|
java.util.Optional<java.util.Date> |
getStarted()
Get the time the job started.
|
java.util.Optional<java.lang.String> |
getStatusMsg()
Get the current status message.
|
getDescription, getTagsgetCreated, getId, getUpdated, toStringprotected Job(Job.Builder builder)
builder - The builder to usepublic java.util.Optional<java.lang.String> getStatusMsg()
public java.util.Optional<java.lang.String> getArchiveLocation()
public java.util.Optional<java.lang.String> getClusterName()
public java.util.Optional<java.lang.String> getCommandName()
public java.util.Optional<java.util.Date> getStarted()
public java.util.Optional<java.util.Date> getFinished()