com.atlassian.bamboo.deployments
Class DeploymentKeyImpl

java.lang.Object
  extended by com.atlassian.bamboo.deployments.DeploymentKeyImpl
All Implemented Interfaces:
DeploymentKey, Key, java.io.Serializable, java.lang.Comparable<Key>

public class DeploymentKeyImpl
extends java.lang.Object
implements DeploymentKey, java.lang.Comparable<Key>

See Also:
Serialized Form

Field Summary
protected  java.lang.String key
           
 
Constructor Summary
DeploymentKeyImpl(java.lang.String key)
           
 
Method Summary
 int compareTo(Key key)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getKey()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

key

protected final java.lang.String key
Constructor Detail

DeploymentKeyImpl

public DeploymentKeyImpl(java.lang.String key)
Method Detail

getKey

@NotNull
public java.lang.String getKey()
Specified by:
getKey in interface Key

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

compareTo

public int compareTo(Key key)
Specified by:
compareTo in interface java.lang.Comparable<Key>

toString

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


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