Package | Description |
---|---|
io.sphere.sdk.states |
Provides model classes and builders for states.
|
io.sphere.sdk.states.commands.updateactions |
Provides the possible operations which can be performed on update commands for states.
|
Modifier and Type | Method and Description |
---|---|
static StateRole |
StateRole.ofSphereValue(String value) |
static StateRole |
StateRole.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateRole[] |
StateRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<StateRole> |
State.getRoles() |
Set<StateRole> |
StateDraft.getRoles() |
Modifier and Type | Method and Description |
---|---|
StateDraftBuilder |
StateDraftBuilder.roles(StateRole role) |
StateDraftDsl |
StateDraftDsl.withRoles(StateRole role) |
Modifier and Type | Method and Description |
---|---|
Set<StateRole> |
AddRoles.getRoles() |
Set<StateRole> |
RemoveRoles.getRoles() |
Set<StateRole> |
SetRoles.getRoles() |
Modifier and Type | Method and Description |
---|---|
static AddRoles |
AddRoles.of(Set<StateRole> roles) |
static RemoveRoles |
RemoveRoles.of(Set<StateRole> roles) |
static SetRoles |
SetRoles.of(Set<StateRole> roles) |