public class KubernetesEvent extends KubernetesResource implements IEvent
IEvent.IEventSourceANNOTATIONS, 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 |
|---|
KubernetesEvent(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> propertyKeys) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
The number of times this event has occured
|
IEvent.IEventSource |
getEventSource()
Optional information of the component reporting this event
|
String |
getFirstSeenTimestamp()
The first time this event was recorded
|
IObjectReference |
getInvolvedObject()
A reference to the Object that was involved in this event
|
String |
getLastSeenTimestamp()
The last time this event was recorded
|
String |
getMessage()
The additional message associated with the event
|
String |
getReason()
The reason for the event
|
String |
getType()
The type of this event (e.g.
|
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 String getReason()
IEventpublic String getMessage()
IEventgetMessage in interface IEventpublic IObjectReference getInvolvedObject()
IEventgetInvolvedObject in interface IEventpublic String getFirstSeenTimestamp()
IEventgetFirstSeenTimestamp in interface IEventpublic String getLastSeenTimestamp()
IEventgetLastSeenTimestamp in interface IEventpublic int getCount()
IEventpublic String getType()
IEventpublic IEvent.IEventSource getEventSource()
IEventgetEventSource in interface IEventCopyright © 2020 Red Hat, Inc. All Rights Reserved.