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, setLinksclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCreationLog, getMessages, hasCreationLogprotected EnvironmentVariableResource(EnvironmentVariableResourceDTO dto, ApplicationResource application)
public String getName()
getName in interface IEnvironmentVariablepublic String getValue()
getValue in interface IEnvironmentVariable@Deprecated public void update(String newValue) throws OpenShiftException
IEnvironmentVariableupdate in interface IEnvironmentVariablenewValue - new value for this environment variableOpenShiftException@Deprecated public void destroy() throws OpenShiftException
IEnvironmentVariabledestroy in interface IEnvironmentVariableOpenShiftExceptionpublic void refresh()
throws OpenShiftException
IOpenShiftResourcerefresh in interface IOpenShiftResourceOpenShiftExceptionpublic IApplication getApplication()
IEnvironmentVariablegetApplication in interface IEnvironmentVariableCopyright © 2016 JBoss by Red Hat. All rights reserved.