public class SetSasTracingEnabledTask extends AbstractBaseTask
A Rhino management task for setting the state of the SAS tracing.
Attribute | Description | Required |
---|---|---|
tracingEnabled |
Boolean flag indicating if SAS tracing should be enabled (true) or disabled (false). |
Yes. |
force |
If true, override the SLEE state check when disabling SAS tracing state. SAS tracing state cannot normally be disabled when the SLEE is not in the Stopped state, because this may cause incomplete trails to be created in SAS for sessions that are in progress. |
No. Defaults to false. |
client, failOnError
Constructor and Description |
---|
SetSasTracingEnabledTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute() |
boolean |
getForce() |
boolean |
getTracingEnabled() |
void |
setForce(boolean force) |
void |
setTracingEnabled(boolean tracingEnabled) |
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 setTracingEnabled(boolean tracingEnabled)
public boolean getTracingEnabled()
public void setForce(boolean force)
public boolean getForce()