Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Code Block
languagetext
public boolean wasInState(String stateName) {
...
}



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

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