|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.DefaultLogger
com.dtolabs.rundeck.core.utils.ExecToolCommandLogger
public class ExecToolCommandLogger
ExecToolCommandLogger reformats ant log messages using a Reformatter
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.DefaultLogger |
---|
emacsMode, err, LEFT_COLUMN_SIZE, lSep, msgOutputLevel, out |
Constructor Summary | |
---|---|
ExecToolCommandLogger(Reformatter formatter)
|
Method Summary | |
---|---|
int |
getLevel()
|
static java.lang.String |
logLevelToString(int level)
Returns a string representing the specified log level |
void |
messageLogged(org.apache.tools.ant.BuildEvent event)
Logs a message, if the priority is suitable. |
static java.lang.String |
retrieveModuleName(org.apache.tools.ant.BuildEvent event)
Look up the module name value from the project of the build event |
static java.lang.String |
retrieveNodeName(org.apache.tools.ant.BuildEvent event)
Look up the server name value from the project of the build event |
static java.lang.String |
retrieveUserName(org.apache.tools.ant.BuildEvent event)
Look up the user name value from the project of the build event |
Methods inherited from class org.apache.tools.ant.DefaultLogger |
---|
buildFinished, buildStarted, extractProjectName, formatTime, getBuildFailedMessage, getBuildSuccessfulMessage, getTimestamp, log, printMessage, setEmacsMode, setErrorPrintStream, setMessageOutputLevel, setOutputPrintStream, targetFinished, targetStarted, taskFinished, taskStarted |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExecToolCommandLogger(Reformatter formatter)
Method Detail |
---|
public void messageLogged(org.apache.tools.ant.BuildEvent event)
messageLogged
in interface org.apache.tools.ant.BuildListener
messageLogged
in class org.apache.tools.ant.DefaultLogger
event
- A BuildEvent containing message information. Must not be null
.public static java.lang.String retrieveModuleName(org.apache.tools.ant.BuildEvent event)
event
- the BuildEvent
public static java.lang.String retrieveNodeName(org.apache.tools.ant.BuildEvent event)
event
- the BuildEvent
public static java.lang.String retrieveUserName(org.apache.tools.ant.BuildEvent event)
event
- the BuildEvent
public static java.lang.String logLevelToString(int level)
level
- Log level
public int getLevel()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |