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
 String event()
          Returns the event corresponding to this state.
 List<S> next()
          Returns the list of states to which services can transition to from this state.
 String remoteForm()
          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:


Copyright © 2014. All Rights Reserved.