Package com.atlassian.bamboo.plan
Class TriggerableInternalKeyImpl
java.lang.Object
com.atlassian.bamboo.plan.TriggerableInternalKeyImpl
- All Implemented Interfaces:
TriggerableInternalKey
Helper class that carries around Chain/Environment id and lets easily get its instance from correct service.
-
Constructor Summary
ConstructorDescriptionTriggerableInternalKeyImpl
(@NotNull PlanKey planKey) TriggerableInternalKeyImpl
(@NotNull PlanKey planKey, long stageId) TriggerableInternalKeyImpl
(@NotNull Triggerable triggerable) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static TriggerableInternalKey
forEnvironmentId
(long environmentId) static TriggerableInternalKey
forPlanKey
(@NotNull PlanKey planKey) static TriggerableInternalKey
forStageId
(@NotNull PlanKey planKey, long stageId) @NotNull String
getKey()
@Nullable PlanKey
@Nullable Triggerable
int
hashCode()
toString()
-
Constructor Details
-
TriggerableInternalKeyImpl
-
TriggerableInternalKeyImpl
-
TriggerableInternalKeyImpl
-
-
Method Details
-
forEnvironmentId
-
forPlanKey
-
forStageId
-
getKey
- Specified by:
getKey
in interfaceTriggerableInternalKey
- Returns:
- a unique
String
identifier
-
getPlanKey
Description copied from interface:TriggerableInternalKey
- Specified by:
getPlanKey
in interfaceTriggerableInternalKey
- Returns:
-
toString
-
getTriggerable
- Specified by:
getTriggerable
in interfaceTriggerableInternalKey
- Returns:
- Immutable instance of
Triggerable
represented by this key
-
equals
-
hashCode
public int hashCode()
-