public class ExecToolCommandLogger
extends org.apache.tools.ant.DefaultLogger
| Constructor and Description |
|---|
ExecToolCommandLogger(Reformatter formatter) |
| Modifier and Type | Method and Description |
|---|---|
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
|
buildFinished, buildStarted, extractProjectName, formatTime, getBuildFailedMessage, getBuildSuccessfulMessage, getTimestamp, log, printMessage, setEmacsMode, setErrorPrintStream, setMessageOutputLevel, setOutputPrintStream, targetFinished, targetStarted, taskFinished, taskStartedpublic ExecToolCommandLogger(Reformatter formatter)
public void messageLogged(org.apache.tools.ant.BuildEvent event)
messageLogged in interface org.apache.tools.ant.BuildListenermessageLogged in class org.apache.tools.ant.DefaultLoggerevent - A BuildEvent containing message information. Must not be null.public static java.lang.String retrieveModuleName(org.apache.tools.ant.BuildEvent event)
event - the BuildEventpublic static java.lang.String retrieveNodeName(org.apache.tools.ant.BuildEvent event)
event - the BuildEventpublic static java.lang.String retrieveUserName(org.apache.tools.ant.BuildEvent event)
event - the BuildEventpublic static java.lang.String logLevelToString(int level)
level - Log levelpublic int getLevel()