public enum ServiceAssemblyState extends Enum<ServiceAssemblyState>
| Modifier and Type | Method and Description |
|---|---|
static ServiceAssemblyState |
computeServiceAssemblyState(List<ServiceUnitState> suStates)
Compute the effective state of the Service Assembly.
|
static String |
convertState(ServiceAssemblyState state)
Converts the service assembly state to the equivalent
DeploymentService state.
|
static ServiceAssemblyState |
getEffectiveServiceAssemblyState(List<ServiceAssemblyState> saStates)
Compute the effective state of a Service Assembly given a list of
Service Assembly States.
|
static void |
main(String[] args) |
String |
toString() |
static ServiceAssemblyState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceAssemblyState |
valueOfDeploymentServiceState(String state)
Get the equivalent ServiceAssemblyState from DeploymentServiceMBean state.
|
static ServiceAssemblyState |
valueOfString(String valStr) |
static ServiceAssemblyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceAssemblyState SHUTDOWN
public static final ServiceAssemblyState STOPPED
public static final ServiceAssemblyState STARTED
public static final ServiceAssemblyState UNKNOWN
public static ServiceAssemblyState[] values()
for (ServiceAssemblyState c : ServiceAssemblyState.values()) System.out.println(c);
public static ServiceAssemblyState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ServiceAssemblyState computeServiceAssemblyState(List<ServiceUnitState> suStates)
suStates - - a List of service unit states.public static ServiceAssemblyState getEffectiveServiceAssemblyState(List<ServiceAssemblyState> saStates)
public static String convertState(ServiceAssemblyState state)
public static ServiceAssemblyState valueOfDeploymentServiceState(String state)
public String toString()
toString in class Enum<ServiceAssemblyState>public static ServiceAssemblyState valueOfString(String valStr)
valStr - - the string whose equivalent ServiceAssemblyState
instance is required. This operation
ignores the case, i.e. Stopped or STOPPED
or sToPped would return ServiceAssemblyState.STOPPEDpublic static void main(String[] args)
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.