com.atlassian.bamboo.configuration
Class LabelPathMap

java.lang.Object
  extended by com.atlassian.bamboo.configuration.LabelPathMap
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Jdk

public class LabelPathMap
extends java.lang.Object
implements java.io.Serializable

Common POJO holding for mapping labels to home directories.

See Also:
Serialized Form

Constructor Summary
LabelPathMap(java.lang.String label, java.lang.String homeDirectory)
           
LabelPathMap(java.lang.String label, java.lang.String homeDirectory, java.lang.String builderType)
           
LabelPathMap(java.lang.String myLabel, java.lang.String myHomeDirectory, java.lang.String myBuilderType, BuilderManager builderManager)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Auto-generated, reflection based equals
 Builder getBuilder()
           
 BuilderManager getBuilderManager()
           
 java.lang.String getBuilderType()
           
 java.lang.String getHomeDirectory()
           
 java.lang.String getLabel()
           
 java.lang.String getName()
          So it can be shown in a drop down list
 java.lang.String getUiSwitchName()
          Inform the UI to display the builder options.
 int hashCode()
          Auto-generated, reflection based hashcode
 boolean isValid()
           
 void setBuilderManager(BuilderManager builderManager)
           
 void setBuilderType(java.lang.String builderType)
           
 void setHomeDirectory(java.lang.String homeDirectory)
           
 void setLabel(java.lang.String label)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelPathMap

public LabelPathMap(java.lang.String myLabel,
                    java.lang.String myHomeDirectory,
                    java.lang.String myBuilderType,
                    BuilderManager builderManager)

LabelPathMap

public LabelPathMap(java.lang.String label,
                    java.lang.String homeDirectory,
                    java.lang.String builderType)

LabelPathMap

public LabelPathMap(java.lang.String label,
                    java.lang.String homeDirectory)
Method Detail

getLabel

public java.lang.String getLabel()

getName

public java.lang.String getName()
So it can be shown in a drop down list


setLabel

public void setLabel(java.lang.String label)

getHomeDirectory

public java.lang.String getHomeDirectory()

setHomeDirectory

public void setHomeDirectory(java.lang.String homeDirectory)

getBuilderType

public java.lang.String getBuilderType()

setBuilderType

public void setBuilderType(java.lang.String builderType)

getUiSwitchName

public java.lang.String getUiSwitchName()
Inform the UI to display the builder options.


getBuilder

public Builder getBuilder()

isValid

public boolean isValid()

setBuilderManager

public void setBuilderManager(BuilderManager builderManager)

getBuilderManager

public BuilderManager getBuilderManager()

equals

public boolean equals(java.lang.Object o)
Auto-generated, reflection based equals

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Auto-generated, reflection based hashcode

Overrides:
hashCode in class java.lang.Object


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.