You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

You can check whether a specified State was visited by calling the following command
 

public boolean wasInState(String stateName) {
...
}


The following code fragment shows how to check whether a specified State of STM, e.g. State1, was visited through ALH API.

ALH.wasInState("State1");	// Returns true or false.