public class Status extends KubernetesResource implements IStatus
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, FROM, GROUP, KIND, LABELS, METADATA, METADATA_NAME, METADATA_NAMESPACE, METADATA_RESOURCE_VERSION, METADATA_UID, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, RESOURCE_VERSION, TYPE, VALUE, VERBS, VERSION| Constructor and Description |
|---|
Status(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> propertyKeys) |
Status(String json) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
The HTTP status code
|
String |
getMessage()
Returns the status message
|
String |
getStatus()
The status info of the status
|
boolean |
isFailure()
Determine if this status is indicates a failure
|
boolean |
isSuccess()
Returns
true if this status represent success} |
accept, addLabel, asBoolean, asBoolean, asInt, asInt, asMap, asSet, asString, asString, equals, get, get, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCapability, getClient, getCreationTimeStamp, getEnvMap, getKind, getLabels, getMetadata, getModifiableCapabilities, getName, getNamespace, getNamespaceName, getNode, getPath, getProject, getPropertyKeys, getResourceVersion, has, hashCode, isAnnotatedWith, refresh, removeAnnotation, set, set, set, set, set, set, set, set, set, setAnnotation, setEnvMap, setName, setNamespace, setNode, supports, toJson, toJson, toPrettyString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getNamespaceName, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonpublic Status(String json)
public String getMessage()
IStatusgetMessage in interface IStatuspublic int getCode()
IStatuspublic String getStatus()
IStatuspublic boolean isFailure()
IStatusCopyright © 2020 Red Hat, Inc. All Rights Reserved.