Package com.atlassian.bamboo.deployments
Class DeploymentResultKeyImpl
java.lang.Object
com.atlassian.bamboo.deployments.DeploymentResultKeyImpl
- All Implemented Interfaces:
DeploymentResultKey
,Key
,ResultKey
,Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static DeploymentResultKeyImpl
from
(@NotNull DeploymentKey environmentKey, long deploymentResultId) static DeploymentResultKeyImpl
from
(@NotNull InternalEnvironment environment, @NotNull InternalDeploymentResult deploymentResult) static DeploymentResultKeyImpl
long
@NotNull Key
What is this a result of.@NotNull String
getKey()
int
long
int
hashCode()
toString()
-
Method Details
-
getKey
-
getEntityKey
Description copied from interface:ResultKey
What is this a result of.- Specified by:
getEntityKey
in interfaceResultKey
- Returns:
-
getResultNumber
public int getResultNumber()- Specified by:
getResultNumber
in interfaceResultKey
- Returns:
- Result number
-
getResultNumberLong
public long getResultNumberLong()- Specified by:
getResultNumberLong
in interfaceResultKey
- Returns:
- Result number
-
getDeploymentResultId
public long getDeploymentResultId()- Specified by:
getDeploymentResultId
in 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
-
toString
-
equals
-
hashCode
public int hashCode()
-