com.atlassian.bamboo.plan
Class StageIdentifierImpl

java.lang.Object
  extended by com.atlassian.bamboo.plan.StageIdentifierImpl
All Implemented Interfaces:
StageIdentifier, NameProvider

public class StageIdentifierImpl
extends java.lang.Object
implements StageIdentifier


Constructor Summary
StageIdentifierImpl(java.lang.String name, int index)
           
 
Method Summary
 int getIndex()
          stage index as stored in Chain definition index is 0 based
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StageIdentifierImpl

public StageIdentifierImpl(java.lang.String name,
                           int index)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface StageIdentifier
Specified by:
getName in interface NameProvider
Returns:
name of stage

getIndex

public int getIndex()
Description copied from interface: StageIdentifier
stage index as stored in Chain definition index is 0 based

Specified by:
getIndex in interface StageIdentifier
Returns:
index of stage


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.