Package org.apache.ivy.core.settings
Class IvyVariableContainerImpl
java.lang.Object
org.apache.ivy.core.settings.IvyVariableContainerImpl
- All Implemented Interfaces:
Cloneable
,IvyVariableContainer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
protected String
getVariable
(String name) void
setEnvironmentPrefix
(String prefix) Specifies the prefix used to indicate a variable is an environment variable.void
setVariable
(String varName, String value, boolean overwrite) protected String
substitute
(String value)
-
Constructor Details
-
IvyVariableContainerImpl
public IvyVariableContainerImpl() -
IvyVariableContainerImpl
-
-
Method Details
-
setVariable
- Specified by:
setVariable
in interfaceIvyVariableContainer
-
setEnvironmentPrefix
Description copied from interface:IvyVariableContainer
Specifies the prefix used to indicate a variable is an environment variable. If the prefix doesn't end with a '.', it will be added automatically.- Specified by:
setEnvironmentPrefix
in interfaceIvyVariableContainer
- Parameters:
prefix
- the prefix to use for the environment variables
-
substitute
-
getVariables
-
getEnvironmentPrefix
-
getVariable
- Specified by:
getVariable
in interfaceIvyVariableContainer
-
clone
- Specified by:
clone
in interfaceIvyVariableContainer
- Overrides:
clone
in classObject
-