|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprotoj.core.internal.ProjectReporter
public final class ProjectReporter
Responds to project events by logging appropriate messages.
| Constructor Summary | |
|---|---|
ProjectReporter(CoreProject core)
Construct with the parent aggregate of this instance. |
|
| Method Summary | |
|---|---|
void |
beginCommand(java.lang.String command)
Logs that a command is about to be executed. |
java.lang.String |
getHighlightedMessage(java.lang.String message)
Used to format each message in a standard way. |
org.apache.log4j.Logger |
getLogger()
|
boolean |
isReportingEnabled()
If we are in the shell script vm then we should report as normal. |
void |
projectFailed(java.lang.String description)
Logs that the project command was unsuccessfully executed, using the given description argument. |
void |
projectFailed(java.lang.Throwable e)
Logs that the project command was unsuccessfully executed, using the given exception argument. |
void |
projectSucceeded()
Logs that the project command was successfully executed. |
void |
unknownCommand(java.lang.String command)
Logs that the given command was unknown when an execution was attempted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectReporter(CoreProject core)
core - | Method Detail |
|---|
public boolean isReportingEnabled()
public void beginCommand(java.lang.String command)
command - public void unknownCommand(java.lang.String command)
command - public void projectSucceeded()
public void projectFailed(java.lang.Throwable e)
e - public void projectFailed(java.lang.String description)
description - public java.lang.String getHighlightedMessage(java.lang.String message)
message -
public org.apache.log4j.Logger getLogger()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||