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 intcompareTo(Key key)booleanequals(Object o)longgetDeploymentProjectId()longgetEnvironmentId()@NotNull StringgetKey()inthashCode()StringtoString()
-
-
-
Field Detail
-
key
protected final String key
-
-
Constructor Detail
-
DeploymentKeyImpl
public DeploymentKeyImpl(String key)
-
-
Method Detail
-
getDeploymentProjectId
public long getDeploymentProjectId()
- Specified by:
getDeploymentProjectIdin interfaceDeploymentKeyWithIds
-
getEnvironmentId
public long getEnvironmentId()
- Specified by:
getEnvironmentIdin interfaceDeploymentKeyWithIds
-
compareTo
public int compareTo(Key key)
- Specified by:
compareToin interfaceComparable<Key>
-
-