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 Boolean
Indicates whether at least one of the job steps for this job is in state FAILEDprotected Long
The persistent id of this objectprotected JobState
Status of the whole jobprotected List
<RestJobStep> The job steps for this jobprotected RestOrbit
The orbit this job relates to (if any)protected String
User-defined order identifierprotected Long
A processing priority (lower numbers indicate lower priority, higher numbers higher priority; default is 50)protected String
The name of the processing facility this job runs on(Package privat) static final long
protected Date
The start time of the time interval to processprotected Date
The end time of the time interval to processprotected Long
A 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 TypMethodeBeschreibungboolean
Returns the hasFailedJobSteps.getId()
Returns the id.@NotNull @Valid JobState
Returns the jobState.@NotNull @Valid List
<RestJobStep> Returns the jobSteps.@Valid RestOrbit
getOrbit()
Returns the orbit.@NotNull String
Returns the orderIdentifier.@NotNull Long
Returns the priority.@NotNull String
Returns the processingFacilityName.Returns the startTime.Returns the stopTime.Returns the version.int
hashCode()
void
setHasFailedJobSteps
(Boolean hasFailedJobSteps) Set the hasFailedJobSteps.void
Set the id.void
setJobState
(JobState jobState) Set the jobState.void
setJobSteps
(List<RestJobStep> jobSteps) Set the jobSteps.void
Set the orbit.void
setOrderIdentifier
(String orderIdentifier) Set the orderIdentifier.void
setPriority
(Long priority) Set the priority.void
setProcessingFacilityName
(String processingFacilityName) Set the processingFacilityName.void
setStartTime
(Date startTime) Set the startTime.void
setStopTime
(Date stopTime) Set the stopTime.void
setVersion
(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
-