public class Project extends KubernetesResource implements IProject
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, KIND, LABELS, METADATA_NAME, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, TYPE, VALUE
Constructor and Description |
---|
Project(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> propertyKeys) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getDisplayName() |
String |
getNamespace()
Returns the scope of this resource
|
IProject |
getProject()
Return the project of the resource which
corresponds to the namespace
|
<T extends IResource> |
getResources(String kind)
Retrieves resource of the given kind that are scoped to
this project
|
void |
setDescription(String value) |
void |
setDisplayName(String name) |
accept, addLabel, asBoolean, asInt, asInt, asMap, asString, asString, equals, get, get, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCapability, getClient, getCreationTimeStamp, getEnvMap, getKind, getLabels, getModifiableCapabilities, getName, getNode, getPath, hashCode, isAnnotatedWith, refresh, set, set, set, set, set, set, set, setAnnotation, setEnvMap, setName, setNamespace, supports, toJson, toJson, toPrettyString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addLabel, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCreationTimeStamp, getKind, getLabels, getName, isAnnotatedWith, setAnnotation, toJson, toJson
accept, getCapability, supports
public IProject getProject()
IResource
getProject
in interface IResource
getProject
in class KubernetesResource
public String getNamespace()
IResource
getNamespace
in interface IResource
getNamespace
in class KubernetesResource
public String getDisplayName()
getDisplayName
in interface IProject
public void setDisplayName(String name)
setDisplayName
in interface IProject
public String getDescription()
getDescription
in interface IProject
public void setDescription(String value)
setDescription
in interface IProject
Copyright © 2016 Red Hat, Inc. All rights reserved.