public class RemoveLoggingPropertyTask extends AbstractBaseTask
A Rhino management sub task for removing logging properties. This task will always fail to remove in use properties.
Attribute | Description | Required |
---|---|---|
failonerror |
Flag to control failure behaviour.
If 'true', the sub task will throw a |
No. default value is taken from the Rhino management parent task. |
propertyName |
Name of the logging property to remove. This property will not be removed if it is in use. |
Yes. |
The task is run targeting an unknown logging property.
client, failOnError
Constructor and Description |
---|
RemoveLoggingPropertyTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute() |
void |
setPropertyName(String propertyName) |
protected void |
validateParameters() |
getExceptionAndMessage, getFailOnError, getMessage, getOverrideFailOnError, getParent, getProject, log, run, setFailOnError
protected void execute() throws org.apache.tools.ant.BuildException
execute
in class AbstractBaseTask
org.apache.tools.ant.BuildException
protected void validateParameters() throws org.apache.tools.ant.BuildException
validateParameters
in class AbstractBaseTask
org.apache.tools.ant.BuildException
public void setPropertyName(String propertyName)