Package com.atlassian.bamboo.plan
Class StageIdentifierImpl
- java.lang.Object
-
- com.atlassian.bamboo.plan.StageIdentifierImpl
-
- All Implemented Interfaces:
StageIdentifier,NameProvider
public class StageIdentifierImpl extends Object implements StageIdentifier
-
-
Constructor Summary
Constructors Constructor Description StageIdentifierImpl(String name, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()stage index as stored inChaindefinition index is 0 basedStringgetName()
-
-
-
Constructor Detail
-
StageIdentifierImpl
public StageIdentifierImpl(String name, int index)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceNameProvider- Specified by:
getNamein interfaceStageIdentifier- Returns:
- name of stage
-
getIndex
public int getIndex()
Description copied from interface:StageIdentifierstage index as stored inChaindefinition index is 0 based- Specified by:
getIndexin interfaceStageIdentifier- Returns:
- index of stage
-
-