JDeveloper SCM API

oracle.ide.scm.util
Class SCMEnvironmentVars

java.lang.Object
  |
  +--oracle.ide.scm.util.SCMEnvironmentVars

public class SCMEnvironmentVars
extends java.lang.Object

Utility class for obtaining the values of shell environment variables. Note that the names of the defined variables are uppercase, and their lookup is also a case-insensitive operation.


Method Summary
static SCMEnvironmentVars getInstance()
           
 java.lang.String getVariable(java.lang.String name)
          Gets the value of the environment variable with the given name.
 java.util.Map getVariables()
          Gets all default process environment variables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final SCMEnvironmentVars getInstance()

getVariable

public final java.lang.String getVariable(java.lang.String name)
Gets the value of the environment variable with the given name.
Returns:
the variable's current value, or null if the variable is not set.

getVariables

public final java.util.Map getVariables()
Gets all default process environment variables.
Returns:
a map of all environment variables defined by default.

Copyright © 2002 Oracle Corporation