Static Public Member Functions

alma.acs.genfw.runtime.sm.AcsStateUtil Class Reference

List of all members.

Static Public Member Functions

static String stateHierarchyToString (AcsState[] stateHierarchy)
static String stateHierarchyNamesToString (String[] stateHierarchyNames)

Detailed Description

Todo: move out of this package once we have general ACS state machine generation set up

Author:
hsommer created Apr 15, 2004 5:43:38 PM

Member Function Documentation

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.

Parameters:
stateHierarchyNames outmost state first, nested child (leaf) state last
Returns:
concatenated hierarchical state
static String alma.acs.genfw.runtime.sm.AcsStateUtil.stateHierarchyToString ( AcsState[]  stateHierarchy  )  [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties