com.atlassian.bamboo.v2.build
Class BuildIdentifierImpl

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.BuildIdentifierImpl
All Implemented Interfaces:
BuildIdentifier, java.io.Serializable
Direct Known Subclasses:
BuildContextImpl

public class BuildIdentifierImpl
extends java.lang.Object
implements BuildIdentifier

See Also:
Serialized Form

Constructor Summary
BuildIdentifierImpl(java.lang.String planKey)
           
BuildIdentifierImpl(java.lang.String planKey, java.lang.String planName, int buildNumber)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getBuildNumber()
          The build number being built
 java.lang.String getBuildResultKey()
          Full build result key (e.g.
 java.lang.String getPlanKey()
          Full plan key (e.g.
 java.lang.String getPlanName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildIdentifierImpl

public BuildIdentifierImpl(java.lang.String planKey)

BuildIdentifierImpl

public BuildIdentifierImpl(java.lang.String planKey,
                           java.lang.String planName,
                           int buildNumber)
Method Detail

getPlanKey

@NotNull
public java.lang.String getPlanKey()
Description copied from interface: BuildIdentifier
Full plan key (e.g. BAM-MAIN)

Specified by:
getPlanKey in interface BuildIdentifier
Returns:
Key for the plan BAM-MAIN @NotNull

getPlanName

@NotNull
public java.lang.String getPlanName()
Specified by:
getPlanName in interface BuildIdentifier

getBuildNumber

public int getBuildNumber()
Description copied from interface: BuildIdentifier
The build number being built

Specified by:
getBuildNumber in interface BuildIdentifier
Returns:
int

getBuildResultKey

@NotNull
public java.lang.String getBuildResultKey()
Description copied from interface: BuildIdentifier
Full build result key (e.g. BAM-MAIN-100)

Specified by:
getBuildResultKey in interface BuildIdentifier
Returns:
Key for build result @NotNull

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.