@NotThreadSafe public final class LongRunningJobData extends Object implements com.helger.commons.id.IHasID<String>
| Constructor and Description |
|---|
LongRunningJobData(String sJobID,
com.helger.commons.text.IReadonlyMultiLingualText aJobDescription,
String sStartingUserID) |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.Duration |
getDuration() |
org.joda.time.LocalDateTime |
getEndDateTime() |
com.helger.commons.state.ESuccess |
getExecutionSuccess() |
String |
getID() |
com.helger.commons.text.IReadonlyMultiLingualText |
getJobDescription() |
LongRunningJobResult |
getResult() |
org.joda.time.LocalDateTime |
getStartDateTime() |
String |
getStartingUserID() |
boolean |
isEnded() |
String |
toString() |
@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nonnull public com.helger.commons.text.IReadonlyMultiLingualText getJobDescription()
null.@Nonnull public org.joda.time.LocalDateTime getStartDateTime()
null.@Nullable public String getStartingUserID()
null.public boolean isEnded()
true if this job was already ended@Nullable public org.joda.time.LocalDateTime getEndDateTime()
@Nonnull public org.joda.time.Duration getDuration()
null.@Nullable public com.helger.commons.state.ESuccess getExecutionSuccess()
@Nullable public LongRunningJobResult getResult()
Copyright © 2014–2015 Philip Helger. All rights reserved.