Class SetSasTracingEnabledTask
- java.lang.Object
-
- com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
-
- com.opencloud.slee.mlet.ant.tasks.SetSasTracingEnabledTask
-
- All Implemented Interfaces:
SubTask
public class SetSasTracingEnabledTask extends AbstractBaseTask
A Rhino management task for setting the state of the SAS tracing.
Ant Parameters 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.
-
-
Field Summary
-
Fields inherited from class com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
client, failOnError
-
-
Constructor Summary
Constructors Constructor Description SetSasTracingEnabledTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
execute()
boolean
getForce()
boolean
getTracingEnabled()
void
setForce(boolean force)
void
setTracingEnabled(boolean tracingEnabled)
protected void
validateParameters()
-
Methods inherited from class com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
getExceptionAndMessage, getFailOnError, getMessage, getOverrideFailOnError, getParent, getProject, log, run, setFailOnError
-
-
-
-
Method Detail
-
execute
protected void execute() throws org.apache.tools.ant.BuildException
- Specified by:
execute
in classAbstractBaseTask
- Throws:
org.apache.tools.ant.BuildException
-
validateParameters
protected void validateParameters() throws org.apache.tools.ant.BuildException
- Specified by:
validateParameters
in classAbstractBaseTask
- Throws:
org.apache.tools.ant.BuildException
-
setTracingEnabled
public void setTracingEnabled(boolean tracingEnabled)
-
getTracingEnabled
public boolean getTracingEnabled()
-
setForce
public void setForce(boolean force)
-
getForce
public boolean getForce()
-
-