com.cloudbees.api.config
Class ParameterHolder

java.lang.Object
  extended by com.cloudbees.api.config.ParameterHolder
Direct Known Subclasses:
ConfigParameters, Environment

public class ParameterHolder
extends Object

Environment and ConfigParameters can both own parameters, hence this class.

Author:
Kohsuke Kawaguchi

Constructor Summary
ParameterHolder()
           
 
Method Summary
 ParameterMap getParameters()
          Parameters are string-to-string map, made available to applications as system properties.
 ParameterMap getRuntimeParameters()
          Runtime parameters are used to communicate with the stack that runs your application (as opposed to the application itself.)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterHolder

public ParameterHolder()
Method Detail

getParameters

public ParameterMap getParameters()
Parameters are string-to-string map, made available to applications as system properties.

Returns:
This method always returns the same live map. Update to this map gets reflected to the ConfigParameters.

getRuntimeParameters

public ParameterMap getRuntimeParameters()
Runtime parameters are used to communicate with the stack that runs your application (as opposed to the application itself.)

Returns:
This method always returns the same live map. Update to this map gets reflected to the ConfigParameters.


Copyright © 2011-2013. All Rights Reserved.