com.atlassian.bamboo.deployments
Class DeploymentResultKeyImpl

java.lang.Object
  extended by com.atlassian.bamboo.deployments.DeploymentResultKeyImpl
All Implemented Interfaces:
DeploymentResultKey, ResultKey, java.io.Serializable

public class DeploymentResultKeyImpl
extends java.lang.Object
implements DeploymentResultKey

See Also:
Serialized Form

Method Summary
 boolean equals(java.lang.Object o)
           
static DeploymentResultKeyImpl from(DeploymentKey environmentKey, long deploymentResultId)
           
static DeploymentResultKeyImpl from(InternalEnvironment environment, InternalDeploymentResult deploymentResult)
           
static DeploymentResultKeyImpl from(java.lang.String key)
           
 Key getEntityKey()
          What is this a result of.
 java.lang.String getKey()
           
 int getResultNumber()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getKey

@NotNull
public java.lang.String getKey()
Specified by:
getKey in interface ResultKey
Returns:
the string version of the result key

getEntityKey

@NotNull
public Key getEntityKey()
Description copied from interface: ResultKey
What is this a result of.

Specified by:
getEntityKey in interface ResultKey
Returns:

getResultNumber

public int getResultNumber()
Specified by:
getResultNumber in interface ResultKey
Returns:
Result number

from

public static DeploymentResultKeyImpl from(@NotNull
                                           DeploymentKey environmentKey,
                                           long deploymentResultId)

from

public static DeploymentResultKeyImpl from(@NotNull
                                           InternalEnvironment environment,
                                           @NotNull
                                           InternalDeploymentResult deploymentResult)

from

public static DeploymentResultKeyImpl from(@NotNull
                                           java.lang.String key)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

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

hashCode

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


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