Package org.gcube.smartgears.lifecycle
Interface State<S extends State<S>>
-
- All Known Implementing Classes:
ApplicationState,ContainerState
public interface State<S extends State<S>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringevent()Returns the event corresponding to this state.List<S>next()Returns the list of states to which services can transition to from this state.StringremoteForm()Returns a serialisation of this state for exchange purposes.
-
-
-
Method Detail
-
next
List<S> next()
Returns the list of states to which services can transition to from this state.- Returns:
- the states
-
event
String event()
Returns the event corresponding to this state.- Returns:
- the
-
remoteForm
String remoteForm()
Returns a serialisation of this state for exchange purposes.- Returns:
-
-