com.atlassian.bamboo.chains
Class ChainStageResultImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.chains.ChainStageResultImpl
- All Implemented Interfaces:
- ChainStageResult, BambooObject, Describable, DescriptionProvider, NameProvider, java.lang.Cloneable
public class ChainStageResultImpl
- extends BambooEntityObject
- implements ChainStageResult
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ChainStageResultImpl
public ChainStageResultImpl(java.lang.String name,
java.lang.String description,
ChainResult chainResult)
ChainStageResultImpl
public ChainStageResultImpl()
getName
@NotNull
public java.lang.String getName()
- Specified by:
getName
in interface DescriptionProvider
- Specified by:
getName
in interface NameProvider
setName
public void setName(@NotNull
java.lang.String name)
- Specified by:
setName
in interface Describable
getDescription
@Nullable
public java.lang.String getDescription()
- Specified by:
getDescription
in interface DescriptionProvider
setDescription
public void setDescription(@Nullable
java.lang.String description)
- Specified by:
setDescription
in interface Describable
getChainResult
@NotNull
public ChainResult getChainResult()
- Description copied from interface:
ChainStageResult
- Returns the
ChainResult
associated with this Stage result
- Specified by:
getChainResult
in interface ChainStageResult
- Returns:
- chainResult
setChainResult
public void setChainResult(@NotNull
ChainResult chainResult)
- Description copied from interface:
ChainStageResult
- Sets the
ChainResult
associated with this Stage result
- Specified by:
setChainResult
in interface ChainStageResult
getBuildResults
@NotNull
public java.util.Set<ExtendedBuildResultsSummary> getBuildResults()
- Description copied from interface:
ChainStageResult
- Returns all the
ExtendedBuildResultsSummary
with this Stage result
- Specified by:
getBuildResults
in interface ChainStageResult
- Returns:
- results
setBuildResults
public void setBuildResults(@NotNull
java.util.Set<ExtendedBuildResultsSummary> buildResults)
addBuildResult
public boolean addBuildResult(@NotNull
ExtendedBuildResultsSummary buildResult)
- Description copied from interface:
ChainStageResult
- Adds a
ExtendedBuildResultsSummary
- Specified by:
addBuildResult
in interface ChainStageResult
- Returns:
- success
removeBuildResult
public boolean removeBuildResult(@NotNull
ExtendedBuildResultsSummary buildResult)
- Description copied from interface:
ChainStageResult
- Removes a
ExtendedBuildResultsSummary
- Specified by:
removeBuildResult
in interface ChainStageResult
- Returns:
- success
getListPosition
public int getListPosition()
- Return position of the Stage Result in the Stage Results list of Chain Result
- Returns:
- Position of the Stage Result in the Stage Results list of Chain Result
setListPosition
public void setListPosition(int index)
Copyright © 2010 Atlassian. All Rights Reserved.