Class RestJob
- java.lang.Object
-
- com.atlassian.bamboo.rest.model.AbstractRestModel
-
- com.atlassian.bamboo.rest.model.plan.stage.job.RestJob
-
- All Implemented Interfaces:
Comparable<RestJob>
public class RestJob extends AbstractRestModel implements Comparable<RestJob>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRestJob.Builder
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.rest.model.AbstractRestModel
self
-
-
Constructor Summary
Constructors Constructor Description RestJob()RestJob(RestKey key, String name, String description, Boolean suspended)RestJob(Long id, RestKey sourceJobKey, RestKey key, String name, String description, Boolean suspended)RestJob(Long id, RestKey sourceJobKey, Long stageId, RestKey key, String name, String description, Boolean suspended)RestJob(Long id, RestKey key, String name, String description, Boolean suspended)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RestJob.Builderbuilder()intcompareTo(@NotNull RestJob restJob)booleanequals(Object o)StringgetDescription()LonggetId()RestKeygetKey()StringgetName()RestKeygetSourceJobKey()RestStagegetStage()LonggetStageId()BooleangetSuspended()inthashCode()voidsetAgentSummary(RestAgentSummary agentSummary)voidsetStage(RestStage stage)voidsetStageId(Long stageId)-
Methods inherited from class com.atlassian.bamboo.rest.model.AbstractRestModel
getSelf, setSelf
-
-
-
-
Method Detail
-
getId
public Long getId()
-
getKey
public RestKey getKey()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getSuspended
public Boolean getSuspended()
-
getSourceJobKey
public RestKey getSourceJobKey()
-
setStage
public void setStage(RestStage stage)
-
getStage
public RestStage getStage()
-
getStageId
public Long getStageId()
-
setStageId
public void setStageId(Long stageId)
-
setAgentSummary
public void setAgentSummary(RestAgentSummary agentSummary)
-
compareTo
public int compareTo(@NotNull @NotNull RestJob restJob)- Specified by:
compareToin interfaceComparable<RestJob>
-
builder
public static RestJob.Builder builder()
-
-