Package de.dlr.proseo.model.rest.model
Klasse RestJob
java.lang.Object
de.dlr.proseo.model.rest.model.RestJob
- Alle implementierten Schnittstellen:
Serializable
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected BooleanIndicates whether at least one of the job steps for this job is in state FAILEDprotected LongThe persistent id of this objectprotected JobStateStatus of the whole jobprotected List<RestJobStep> The job steps for this jobprotected RestOrbitThe orbit this job relates to (if any)protected StringUser-defined order identifierprotected LongA processing priority (lower numbers indicate lower priority, higher numbers higher priority; default is 50)protected StringThe name of the processing facility this job runs on(Package privat) static final longprotected DateThe start time of the time interval to processprotected DateThe end time of the time interval to processprotected LongA version identifier to track updates to the object (especially to detect concurrent update attempts) -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungRestJob()Creates a new RestJob.RestJob(Long id, Long version, String orderIdentifier, JobState jobState, RestOrbit orbit, Date startTime, Date stopTime, Long priority, Boolean hasFailedJobSteps, String processingFacilityName, List<RestJobStep> jobSteps) Creates a new RestJob. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanReturns the hasFailedJobSteps.getId()Returns the id.@NotNull @Valid JobStateReturns the jobState.@NotNull @Valid List<RestJobStep> Returns the jobSteps.@Valid RestOrbitgetOrbit()Returns the orbit.@NotNull StringReturns the orderIdentifier.@NotNull LongReturns the priority.@NotNull StringReturns the processingFacilityName.Returns the startTime.Returns the stopTime.Returns the version.inthashCode()voidsetHasFailedJobSteps(Boolean hasFailedJobSteps) Set the hasFailedJobSteps.voidSet the id.voidsetJobState(JobState jobState) Set the jobState.voidsetJobSteps(List<RestJobStep> jobSteps) Set the jobSteps.voidSet the orbit.voidsetOrderIdentifier(String orderIdentifier) Set the orderIdentifier.voidsetPriority(Long priority) Set the priority.voidsetProcessingFacilityName(String processingFacilityName) Set the processingFacilityName.voidsetStartTime(Date startTime) Set the startTime.voidsetStopTime(Date stopTime) Set the stopTime.voidsetVersion(Long version) Set the version.toString()
-
Felddetails
-
serialVersionUID
static final long serialVersionUID- Siehe auch:
-
id
The persistent id of this object -
version
A version identifier to track updates to the object (especially to detect concurrent update attempts) -
orderIdentifier
User-defined order identifier -
jobState
Status of the whole job -
orbit
The orbit this job relates to (if any) -
startTime
The start time of the time interval to process -
stopTime
The end time of the time interval to process -
priority
A processing priority (lower numbers indicate lower priority, higher numbers higher priority; default is 50) -
hasFailedJobSteps
Indicates whether at least one of the job steps for this job is in state FAILED -
processingFacilityName
The name of the processing facility this job runs on -
jobSteps
The job steps for this job
-
-
Konstruktordetails
-
RestJob
public RestJob()Creates a new RestJob. -
RestJob
public RestJob(Long id, Long version, String orderIdentifier, JobState jobState, RestOrbit orbit, Date startTime, Date stopTime, Long priority, Boolean hasFailedJobSteps, String processingFacilityName, List<RestJobStep> jobSteps) Creates a new RestJob.
-
-
Methodendetails
-
getId
Returns the id.- Gibt zurück:
- id
-
setId
Set the id.- Parameter:
id- the new id
-
getVersion
Returns the version.- Gibt zurück:
- version
-
setVersion
Set the version.- Parameter:
version- the new version
-
getOrderIdentifier
Returns the orderIdentifier.- Gibt zurück:
- orderIdentifier
-
setOrderIdentifier
Set the orderIdentifier.- Parameter:
orderIdentifier- the new orderIdentifier
-
getJobState
Returns the jobState.- Gibt zurück:
- jobState
-
setJobState
Set the jobState.- Parameter:
jobState- the new jobState
-
getOrbit
Returns the orbit.- Gibt zurück:
- orbit
-
setOrbit
Set the orbit.- Parameter:
orbit- the new orbit
-
getStartTime
Returns the startTime.- Gibt zurück:
- startTime
-
setStartTime
Set the startTime.- Parameter:
startTime- the new startTime
-
getStopTime
Returns the stopTime.- Gibt zurück:
- stopTime
-
setStopTime
Set the stopTime.- Parameter:
stopTime- the new stopTime
-
getPriority
Returns the priority.- Gibt zurück:
- priority
-
setPriority
Set the priority.- Parameter:
priority- the new priority
-
getHasFailedJobSteps
Returns the hasFailedJobSteps.- Gibt zurück:
- hasFailedJobSteps
-
setHasFailedJobSteps
Set the hasFailedJobSteps.- Parameter:
hasFailedJobSteps- the new hasFailedJobSteps
-
getProcessingFacilityName
Returns the processingFacilityName.- Gibt zurück:
- processingFacilityName
-
setProcessingFacilityName
Set the processingFacilityName.- Parameter:
processingFacilityName- the new processingFacilityName
-
getJobSteps
Returns the jobSteps.- Gibt zurück:
- jobSteps
-
setJobSteps
Set the jobSteps.- Parameter:
jobSteps- the new jobSteps
-
hashCode
public int hashCode() -
equals
-
toString
-