OpenShift Java Client 2.5.0.Final

com.openshift.client
Interface IEnvironmentVariable

All Superinterfaces:
IOpenShiftResource
All Known Implementing Classes:
EnvironmentVariableResource

public interface IEnvironmentVariable
extends IOpenShiftResource

Author:
Syed Iqbal

Method Summary
 void destroy()
          Destroys this environment variable
 IApplication getApplication()
          Returns the application for this environment variable
 String getName()
           
 String getValue()
           
 void update(String value)
          Updates this environment variable to the given value.
 
Methods inherited from interface com.openshift.client.IOpenShiftResource
getCreationLog, getMessages, hasCreationLog, refresh
 

Method Detail

getName

String getName()
Returns:
Name of the environment variable

getValue

String getValue()
Returns:
Value of the environment variable

update

void update(String value)
            throws OpenShiftException
Updates this environment variable to the given value.

Parameters:
value - new value for this environment variable
Throws:
OpenShiftException

destroy

void destroy()
             throws OpenShiftException
Destroys this environment variable

Throws:
OpenShiftException

getApplication

IApplication getApplication()
Returns the application for this environment variable

Returns:

OpenShift Java Client 2.5.0.Final

Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.