|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.rhq.bundle.ant.task.AbstractBundleTask
org.rhq.bundle.ant.task.AuditTask
public class AuditTask
The rhq:audit task is a way recipe authors can add their own audit messages to the stream of audit messages that the server gets to see how the progress went with the provisioning of a bundle. <rhq:audit status='SUCCESS|INFO|WARN|FAILURE' action="My Step" info="summary info" message="intermediate details"> long details here </rhq:audit>
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
AuditTask()
|
|
| Method Summary | |
|---|---|
void |
addText(String msg)
Set a multiline message. |
void |
execute()
|
String |
getAction()
|
String |
getInfo()
|
String |
getMessage()
|
BundleAntProject.AuditStatus |
getStatus()
|
void |
maybeConfigure()
|
void |
setAction(String action)
|
void |
setInfo(String info)
|
void |
setMessage(String message)
|
void |
setStatus(String status)
|
| Methods inherited from class org.rhq.bundle.ant.task.AbstractBundleTask |
|---|
getProject |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuditTask()
| Method Detail |
|---|
public void maybeConfigure()
throws org.apache.tools.ant.BuildException
maybeConfigure in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic BundleAntProject.AuditStatus getStatus()
public void setStatus(String status)
public String getAction()
public void setAction(String action)
public String getInfo()
public void setInfo(String info)
public String getMessage()
public void setMessage(String message)
public void addText(String msg)
msg - the CDATA text to append to the message text
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||