computeServiceAssemblyState(List<ServiceUnitState> suStates) Compute the effective state of the Service Assembly.
If one or more SUs is in a STARTED state the state is STARTED
If one or more SUs is in the STOPPED state and no SU is in the STARTED state
the state is STOPPED
If no SU is in the STOPPED or STARTED state the state is SHUTDOWN
Parameters: suStates - - a List of service unit states.
Compute the effective state of the Service Assembly.
If one or more SUs is in a STARTED state the state is STARTED
If one or more SUs is in the STOPPED state and no SU is in the STARTED state
the state is STOPPED
If no SU is in the STOPPED or STARTED state the state is SHUTDOWN
Parameters: suStates - - a List of service unit states. the effective service assembly state
Compute the effective state of a Service Assembly given a list of
Service Assembly States.
If one or more SAs is in a STARTED state the state is STARTED
If one or more SAs is in the STOPPED state and no SA is in the STARTED state
the state is STOPPED
If no SA is in the STOPPED or STARTED state and one or more SAs is in the SHUTDOWN
state, the state is SHUTDOWN.
If none of the aboe are true the state is UNKNOWN
the effective service assembly state
a ServuceAssemblyState based on the String value. Parameters: valStr - - the string whose equivalent ServiceAssemblyStateinstance is required. This operationignores the case, i.e. Stopped or STOPPEDor sToPped would return ServiceAssemblyState.STOPPED