public class WaitTilServiceIsInactiveTask extends ComponentBasedTask
A Rhino management sub task for waiting on Service deactivation. This task will block while waiting for the specified Service to deactivate.
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. |
serviceid |
Canonical name of the service to deactivate. |
Only required/allowed if the |
Element | Description | Required |
---|---|---|
component |
Identifies the service to deactivate.
See |
Only required/allowed if the |
The task is run targeting a non-existant service.
component
client, failOnError
Constructor and Description |
---|
WaitTilServiceIsInactiveTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute() |
void |
setServiceID(String serviceID) |
protected void |
validateParameters() |
addComponent, findComponent
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 setServiceID(String serviceID)