Static Public Member Functions | |
static String | stateHierarchyToString (AcsState[] stateHierarchy) |
static String | stateHierarchyNamesToString (String[] stateHierarchyNames) |
Todo: move out of this package once we have general ACS state machine generation set up
static String alma.acs.genfw.runtime.sm.AcsStateUtil.stateHierarchyNamesToString | ( | String[] | stateHierarchyNames | ) | [static] |
Concatenates the nested state names (path elements) of a substate to a String
. For example, if "busy" is a substate of "operational", passing the String[]
{"operational", "busy"}
will return "operational/busy"
.
The main use of this method is to hide the "path separator" for nested states and spare an application the (admittedly not so awful) concatenation.
stateHierarchyNames | outmost state first, nested child (leaf) state last |
static String alma.acs.genfw.runtime.sm.AcsStateUtil.stateHierarchyToString | ( | AcsState[] | stateHierarchy | ) | [static] |
References alma.acs.genfw.runtime.sm.AcsState.stateName().