public interface IStatus extends IResource
| Modifier and Type | Field and Description |
|---|---|
static String |
FAILURE |
static String |
SUCCESS |
| 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} |
addLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getNamespaceName, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonstatic final String SUCCESS
static final String FAILURE
String getMessage()
int getCode()
String getStatus()
boolean isFailure()
boolean isSuccess()
true if this status represent success}Copyright © 2019 Red Hat, Inc. All Rights Reserved.