com.atlassian.bamboo.v2.build
Class BuildIdentifierImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
BuildIdentifierImpl
public BuildIdentifierImpl(long planId,
java.lang.String planKey)
BuildIdentifierImpl
public BuildIdentifierImpl(long planId,
java.lang.String planKey,
java.lang.String planName,
int buildNumber)
getPlanId
public long getPlanId()
- Specified by:
getPlanId
in interface BuildIdentifier
- Returns:
- Id of the plan.
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 © 2009 Atlassian Pty Ltd. All Rights Reserved.