Class WaitingToBeResolvedTransitions
- java.lang.Object
-
- com.commercetools.sync.commons.models.WaitingToBeResolvedTransitions
-
- All Implemented Interfaces:
WaitingToBeResolved
public final class WaitingToBeResolvedTransitions extends java.lang.Object implements WaitingToBeResolved
-
-
Constructor Summary
Constructors Constructor Description WaitingToBeResolvedTransitions()
WaitingToBeResolvedTransitions(io.sphere.sdk.states.StateDraft stateDraft, java.util.Set<java.lang.String> missingTransitionStateKeys)
Represents a statedraft that is waiting for some state references, which are on this stateDraft as transitions, to be resolved.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.String
getKey()
java.util.Set<java.lang.String>
getMissingTransitionStateKeys()
io.sphere.sdk.states.StateDraft
getStateDraft()
int
hashCode()
void
setMissingTransitionStateKeys(java.util.Set<java.lang.String> missingTransitionStateKeys)
void
setStateDraft(io.sphere.sdk.states.StateDraft stateDraft)
-
-
-
Constructor Detail
-
WaitingToBeResolvedTransitions
public WaitingToBeResolvedTransitions(@Nonnull io.sphere.sdk.states.StateDraft stateDraft, @Nonnull java.util.Set<java.lang.String> missingTransitionStateKeys)
Represents a statedraft that is waiting for some state references, which are on this stateDraft as transitions, to be resolved.- Parameters:
stateDraft
- state draft which has irresolvable references as transitions.missingTransitionStateKeys
- state keys of irresolvable transition states.
-
WaitingToBeResolvedTransitions
public WaitingToBeResolvedTransitions()
-
-
Method Detail
-
getStateDraft
@Nonnull public io.sphere.sdk.states.StateDraft getStateDraft()
-
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interfaceWaitingToBeResolved
-
getMissingTransitionStateKeys
@Nonnull public java.util.Set<java.lang.String> getMissingTransitionStateKeys()
-
setStateDraft
public void setStateDraft(@Nonnull io.sphere.sdk.states.StateDraft stateDraft)
-
setMissingTransitionStateKeys
public void setMissingTransitionStateKeys(@Nonnull java.util.Set<java.lang.String> missingTransitionStateKeys)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-