public static class SingleConfigurableTask.Entry extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SingleConfigurableTask.Entry.LookupType |
static class |
SingleConfigurableTask.Entry.Operation |
static class |
SingleConfigurableTask.Entry.Type |
| Modifier and Type | Field and Description |
|---|---|
protected String |
key |
protected String |
section |
protected String |
value |
| Constructor and Description |
|---|
Entry() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeOn(Configurable configurable) |
String |
getKey() |
SingleConfigurableTask.Entry.LookupType |
getLookupType() |
SingleConfigurableTask.Entry.Operation |
getOperation() |
String |
getSection() |
SingleConfigurableTask.Entry.Type |
getType() |
String |
getValue() |
void |
setDefault(String value)
Initial value to set for a key if it is not already defined in the configuration file.
|
void |
setKey(String value)
Name of the key/value pair
|
void |
setLookupType(SingleConfigurableTask.Entry.LookupType lookupType)
Regard the value as : regexp | plain (default)
|
void |
setOperation(SingleConfigurableTask.Entry.Operation operation)
operation to apply.
|
void |
setPattern(String value)
For int and date type only.
|
void |
setResolveVariables(boolean resolve)
Whether variables should be resolved during manipulating with explicit modifiers nested
in the Ant task.
|
void |
setSection(String section)
Name of s INI File section
|
void |
setType(SingleConfigurableTask.Entry.Type type)
Regard the value as : int, date or string (default)
|
void |
setUnit(SingleConfigurableTask.Unit unit)
The unit of the value to be applied to date +/- operations.
|
void |
setValue(String value)
Value to set (=), to add (+) or subtract (-)
|
public String getSection()
public void setSection(String section)
public String getKey()
public void setKey(String value)
public void setValue(String value)
public void setResolveVariables(boolean resolve)
resolve - - true to resolve variables in explicit modifierspublic String getValue()
public SingleConfigurableTask.Entry.LookupType getLookupType()
public SingleConfigurableTask.Entry.Type getType()
public SingleConfigurableTask.Entry.Operation getOperation()
public void setOperation(SingleConfigurableTask.Entry.Operation operation)
public void setType(SingleConfigurableTask.Entry.Type type)
public void setLookupType(SingleConfigurableTask.Entry.LookupType lookupType)
public void setDefault(String value)
public void setPattern(String value)
public void setUnit(SingleConfigurableTask.Unit unit)
protected void executeOn(Configurable configurable) throws Exception
ExceptionCopyright © 2001–2025. All rights reserved.