Class PlanStatusJsonBean
- java.lang.Object
-
- com.atlassian.bamboo.plugins.jira.summary.build.PlanStatusJsonBean
-
- All Implemented Interfaces:
com.atlassian.json.marshal.Jsonable
public class PlanStatusJsonBean extends Object implements com.atlassian.json.marshal.Jsonable
-
-
Constructor Summary
Constructors Constructor Description PlanStatusJsonBean(PlanKey planKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBuildCount()
String
getPlanKey()
String
getStatus()
void
incrementBuildCount()
void
setBuildCompletedDate(@Nullable Date buildCompletedDate)
void
setStatus(BuildState status)
String
toString()
void
write(Writer writer)
-
-
-
Constructor Detail
-
PlanStatusJsonBean
public PlanStatusJsonBean(PlanKey planKey)
-
-
Method Detail
-
write
public void write(Writer writer) throws IOException
- Specified by:
write
in interfacecom.atlassian.json.marshal.Jsonable
- Throws:
IOException
-
setStatus
public void setStatus(BuildState status)
-
setBuildCompletedDate
public void setBuildCompletedDate(@Nullable @Nullable Date buildCompletedDate)
-
incrementBuildCount
public void incrementBuildCount()
-
getPlanKey
public String getPlanKey()
-
getBuildCount
public int getBuildCount()
-
getStatus
public String getStatus()
-
-