com.atlassian.bamboo.deployments
Class DeploymentKeyImpl

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

@Immutable
public class DeploymentKeyImpl
extends Object
implements DeploymentKey, Comparable<Key>

See Also:
Serialized Form

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

Field Detail

key

protected final String key
Constructor Detail

DeploymentKeyImpl

public DeploymentKeyImpl(String key)
Method Detail

getKey

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

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.