public class EnvironmentVariableResource extends AbstractOpenShiftResource implements IEnvironmentVariable
AbstractOpenShiftResource.Parameters, AbstractOpenShiftResource.ServiceRequest
Modifier | Constructor and Description |
---|---|
protected |
EnvironmentVariableResource(EnvironmentVariableResourceDTO dto,
ApplicationResource application) |
protected |
EnvironmentVariableResource(String name,
String value,
Messages messages,
Map<String,Link> links,
ApplicationResource application) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Deprecated.
|
IApplication |
getApplication()
Returns the application for this environment variable
|
String |
getName() |
String |
getValue() |
void |
refresh()
Refresh the resource and its list of children resources that were
previously loaded
|
String |
toString() |
void |
update(String newValue)
Deprecated.
|
getCreationLog, getLink, getMessages, hasCreationLog, setLinks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCreationLog, getMessages, hasCreationLog
protected EnvironmentVariableResource(EnvironmentVariableResourceDTO dto, ApplicationResource application)
public String getName()
getName
in interface IEnvironmentVariable
public String getValue()
getValue
in interface IEnvironmentVariable
@Deprecated public void update(String newValue) throws OpenShiftException
IEnvironmentVariable
update
in interface IEnvironmentVariable
newValue
- new value for this environment variableOpenShiftException
@Deprecated public void destroy() throws OpenShiftException
IEnvironmentVariable
destroy
in interface IEnvironmentVariable
OpenShiftException
public void refresh() throws OpenShiftException
IOpenShiftResource
refresh
in interface IOpenShiftResource
OpenShiftException
public IApplication getApplication()
IEnvironmentVariable
getApplication
in interface IEnvironmentVariable
Copyright © 2015 JBoss by Red Hat. All rights reserved.