Class RestStage
- java.lang.Object
-
- com.atlassian.bamboo.rest.model.AbstractRestModel
-
- com.atlassian.bamboo.rest.model.plan.stage.RestStage
-
public class RestStage extends AbstractRestModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RestStage.Builder
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.rest.model.AbstractRestModel
self
-
-
Constructor Summary
Constructors Constructor Description RestStage()
RestStage(Long id, String name, String description, Boolean manual)
Deprecated.since 5.13 useRestStage(Long, String, String, Boolean, Boolean)
RestStage(Long id, String name, String description, Boolean manual, Boolean finalStage)
RestStage(String name, String description, Boolean manual, Integer index)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RestStage.Builder
builder()
String
getDescription()
Long
getId()
Integer
getIndex()
@Nullable RestPageModel<RestJob>
getJobs()
String
getName()
RestPlanConfig
getPlan()
Boolean
isFinal()
Boolean
isManual()
void
setIndex(Integer index)
void
setJobs(RestPageModel<RestJob> jobs)
void
setPlan(RestPlanConfig plan)
-
Methods inherited from class com.atlassian.bamboo.rest.model.AbstractRestModel
getSelf, setSelf
-
-
-
-
Constructor Detail
-
RestStage
public RestStage()
-
RestStage
@Deprecated public RestStage(Long id, String name, String description, Boolean manual)
Deprecated.since 5.13 useRestStage(Long, String, String, Boolean, Boolean)
-
-
Method Detail
-
setJobs
public void setJobs(RestPageModel<RestJob> jobs)
-
getName
public String getName()
-
getDescription
public String getDescription()
-
isManual
public Boolean isManual()
-
isFinal
public Boolean isFinal()
-
getJobs
@Nullable public @Nullable RestPageModel<RestJob> getJobs()
-
getId
public Long getId()
-
getPlan
public RestPlanConfig getPlan()
-
setPlan
public void setPlan(RestPlanConfig plan)
-
getIndex
public Integer getIndex()
-
setIndex
public void setIndex(Integer index)
-
builder
public static RestStage.Builder builder()
-
-