| Constructor and Description |
|---|
Variable()
An instance of this class manages and stores a variable property.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Attempts to publish the currently stored value for the given variable name.
|
String |
getName()
Returns the referable name of the variable.
|
VariableRole |
getRole()
Returns the role of the variable and provides information about it's usage and purpose via the VariableRole enum.
|
String |
getValue()
Returns the value of the variable.
|
void |
setName(String name)
Alters the referable name of the variable.
|
void |
setOwningTask(Task owningTask)
Change the task owning this variable.
|
void |
setRole(VariableRole role)
Alters the role of the variable and provides information about it's usage and purpose via the VariableRole enum.
|
void |
setValue(String value)
Alters the value of the variable.
|
getFiles, getLogger, getTaskConfiguration, getVariables, setFiles, setTaskConfigurationbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic Variable()
public void setOwningTask(Task owningTask)
owningTask - The task that shall be owning the variable.public void execute()
throws org.apache.tools.ant.BuildException
public void setName(String name)
name - The referable name of the variable.public String getName()
public void setValue(String value)
value - The value of the variable.public String getValue()
public void setRole(VariableRole role)
role - The role of this variable in it's context.public VariableRole getRole()
Copyright © 2017–2019 SoftVision Development GmbH, Fulda, Germany. All rights reserved.