public class RestJob extends AbstractRestModel implements Comparable<RestJob>
Modifier and Type | Class and Description |
---|---|
static class |
RestJob.Builder |
self
Constructor and Description |
---|
RestJob() |
RestJob(Long id,
RestKey sourceJobKey,
Long stageId,
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 key,
String name,
String description,
Boolean suspended) |
RestJob(RestKey key,
String name,
String description,
Boolean suspended) |
Modifier and Type | Method and Description |
---|---|
static RestJob.Builder |
builder() |
int |
compareTo(RestJob restJob) |
boolean |
equals(Object o) |
String |
getDescription() |
Long |
getId() |
RestKey |
getKey() |
String |
getName() |
RestKey |
getSourceJobKey() |
RestStage |
getStage() |
Long |
getStageId() |
Boolean |
getSuspended() |
int |
hashCode() |
void |
setAgentSummary(RestAgentSummary agentSummary) |
void |
setStage(RestStage stage) |
void |
setStageId(Long stageId) |
getSelf, setSelf
public RestJob()
public RestJob(Long id, RestKey sourceJobKey, RestKey key, String name, String description, Boolean suspended)
public Long getId()
public RestKey getKey()
public String getName()
public String getDescription()
public Boolean getSuspended()
public RestKey getSourceJobKey()
public void setStage(RestStage stage)
public RestStage getStage()
public Long getStageId()
public void setStageId(Long stageId)
public void setAgentSummary(RestAgentSummary agentSummary)
public int compareTo(@NotNull RestJob restJob)
compareTo
in interface Comparable<RestJob>
public static RestJob.Builder builder()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.