java.lang.Cloneable
public class ServiceTask
extends org.apache.tools.ant.Task
Modifier and Type | Field | Description |
---|---|---|
(package private) java.lang.String |
action |
|
private static org.apache.commons.logging.Log |
log |
|
(package private) java.util.List |
mbeans |
|
(package private) java.lang.String |
refId |
Constructor | Description |
---|---|
ServiceTask() |
Modifier and Type | Method | Description |
---|---|---|
void |
addMbean(MLETTask mbean) |
|
void |
execute() |
|
java.util.List |
getMbeans() |
|
void |
setAction(java.lang.String action) |
Set action to be executed on the mbean collection.
|
void |
setRefId(java.lang.String ref) |
Perform the action on a previously declared service
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
private static org.apache.commons.logging.Log log
java.util.List mbeans
java.lang.String action
java.lang.String refId
public void addMbean(MLETTask mbean)
public java.util.List getMbeans()
public void setAction(java.lang.String action)
action
- public void setRefId(java.lang.String ref)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Copyright (c) 2001-2003 - Apache Software Foundation