public class ServiceStatus extends Object implements Serializable
| Constructor and Description |
|---|
ServiceStatus(String parentName,
String serviceName,
String[] aliases,
String serviceClassName,
String modeName,
String stateName,
String substateName,
String[] dependencies,
boolean dependencyFailed,
String exception,
boolean dependencyUnavailable)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAliases()
Get the service aliases, if any, as strings.
|
String[] |
getDependencies()
The list of dependency names for this service.
|
String |
getException()
Get the service start exception.
|
String |
getModeName()
Get the service mode, as a string.
|
String |
getParentName()
Get the name of the parent service, if any.
|
String |
getServiceClassName()
Get the service class name, or
"<unknown>" if not known. |
String |
getServiceName()
Get the service name, as a string.
|
String |
getStateName()
Get the service state, as a string.
|
String |
getSubstateName()
Get the service internal substate, as a string.
|
boolean |
isDependencyFailed()
Determine if some dependency was failed at the time of the query.
|
boolean |
isDependencyUnavailable()
Determine if some dependency was not available at the time of the query.
|
String |
toString()
Get a string representation of the current status.
|
@ConstructorProperties(value={"parentName","serviceName","serviceClassName","modeName","stateName","substateName","dependencies","dependencyFailed","exception","dependencyUnavailable"}) public ServiceStatus(String parentName, String serviceName, String[] aliases, String serviceClassName, String modeName, String stateName, String substateName, String[] dependencies, boolean dependencyFailed, String exception, boolean dependencyUnavailable)
parentName - the name of the parentserviceName - the service namealiases - the aliases of this serviceserviceClassName - the name of the service classmodeName - the service mode namestateName - the service state namesubstateName - the internal service substate namedependencies - the list of dependencies for this servicedependencyFailed - true if some dependency is failedexception - the service start exceptiondependencyUnavailable - true if some dependency is unavailablepublic String getServiceName()
public String[] getAliases()
public String getServiceClassName()
"<unknown>" if not known.public String getModeName()
public String getStateName()
public String getSubstateName()
public String[] getDependencies()
public boolean isDependencyFailed()
true if some dependency was failedpublic boolean isDependencyUnavailable()
true if some dependency was unavailablepublic String getException()
public String toString()
public String getParentName()
Copyright © 2016 JBoss by Red Hat. All rights reserved.