Package com.atlassian.bamboo.deployments
Class DeploymentResultKeyImpl
- java.lang.Object
-
- com.atlassian.bamboo.deployments.DeploymentResultKeyImpl
-
- All Implemented Interfaces:
DeploymentResultKey,Key,ResultKey,Serializable
@Immutable public class DeploymentResultKeyImpl extends Object implements DeploymentResultKey
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.base.Function<String,DeploymentResultKey>FROM_STRINGDeprecated.since 6.5, usefrom(String)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static DeploymentResultKeyImplfrom(@NotNull DeploymentKey environmentKey, long deploymentResultId)static DeploymentResultKeyImplfrom(@NotNull InternalEnvironment environment, @NotNull InternalDeploymentResult deploymentResult)static DeploymentResultKeyImplfrom(@NotNull String key)longgetDeploymentResultId()@NotNull KeygetEntityKey()What is this a result of.@NotNull StringgetKey()intgetResultNumber()longgetResultNumberLong()inthashCode()StringtoString()
-
-
-
Field Detail
-
FROM_STRING
@Deprecated public static com.google.common.base.Function<String,DeploymentResultKey> FROM_STRING
Deprecated.since 6.5, usefrom(String)
-
-
Method Detail
-
getKey
@NotNull public @NotNull String getKey()
-
getEntityKey
@NotNull public @NotNull Key getEntityKey()
Description copied from interface:ResultKeyWhat is this a result of.- Specified by:
getEntityKeyin interfaceResultKey- Returns:
-
getResultNumber
public int getResultNumber()
- Specified by:
getResultNumberin interfaceResultKey- Returns:
- Result number
-
getResultNumberLong
public long getResultNumberLong()
- Specified by:
getResultNumberLongin interfaceResultKey- Returns:
- Result number
-
getDeploymentResultId
public long getDeploymentResultId()
- Specified by:
getDeploymentResultIdin interfaceDeploymentResultKey- Returns:
- result id
-
from
public static DeploymentResultKeyImpl from(@NotNull @NotNull DeploymentKey environmentKey, long deploymentResultId)
-
from
public static DeploymentResultKeyImpl from(@NotNull @NotNull InternalEnvironment environment, @NotNull @NotNull InternalDeploymentResult deploymentResult)
-
from
public static DeploymentResultKeyImpl from(@NotNull @NotNull String key)
-
-