- All Superinterfaces:
Manageable_base
- All Known Implementing Classes:
AbstractStateMachine
,StateMachine
public interface Manageable extends Manageable_base
This interface is a management utility, which can be implemented by a
software component so that it can be accessed by means of Java Management
eXtensions (JMX) in particular.
Compatibility: Java 9.
- Since:
- 1.0
-
Method Summary
Modifier and Type Method Description void
to_state(java.lang.String name)
This method forces a software component to move to a given state, thus forcing its orthogonal states and superstates to be also active.Methods inherited from interface com.pauware.pauware_engine.Core.Manageable_base
async_current_state, current_state, in_state, name, verbose
-
Method Details
-
to_state
This method forces a software component to move to a given state, thus forcing its orthogonal states and superstates to be also active.Its typical implementation is as follows:
_my_state_machine.to_state("A state");
where the type of the_my_state_machine
field in the component isAbstractStateMachine
. Caution: this method triggers the entry and exit actions associated with states.- Parameters:
name
- The name of the state to which the state machine goes to.- Throws:
State_exception
- See Also:
AbstractState.set_entryAction(Object,String,Object[],byte)
,AbstractState.set_exitAction(Object,String,Object[],byte)
,AbstractState.reset_entryAction(Object,String,Object[],byte)
,AbstractState.reset_exitAction(Object,String,Object[],byte)
-