Package com.atlassian.bamboo.deployments
Class DeploymentKeyImpl
- java.lang.Object
-
- com.atlassian.bamboo.deployments.DeploymentKeyImpl
-
- All Implemented Interfaces:
DeploymentKey
,DeploymentKeyWithIds
,Key
,Serializable
,Comparable<Key>
@Immutable public class DeploymentKeyImpl extends Object implements DeploymentKeyWithIds, Comparable<Key>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeploymentKeyImpl(String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Key key)
boolean
equals(Object o)
long
getDeploymentProjectId()
long
getEnvironmentId()
@NotNull String
getKey()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
key
protected final String key
-
-
Constructor Detail
-
DeploymentKeyImpl
public DeploymentKeyImpl(String key)
-
-
Method Detail
-
getDeploymentProjectId
public long getDeploymentProjectId()
- Specified by:
getDeploymentProjectId
in interfaceDeploymentKeyWithIds
-
getEnvironmentId
public long getEnvironmentId()
- Specified by:
getEnvironmentId
in interfaceDeploymentKeyWithIds
-
compareTo
public int compareTo(Key key)
- Specified by:
compareTo
in interfaceComparable<Key>
-
-