|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.speech4j.ant.VoiceBuildListener
VoiceBuildListener. Works only on Windows operating systems.
Deactivates on first exception.
Controlled by the following properties. All properties are prefixed with the
class name so modeId is actually com.speech4j.ant.VoiceBuildListener.modeId
| Property | Default value | Parameters | Description |
|---|---|---|---|
| modeId | Default mode | Mode GUID | |
| modeName | Default mode | Mode name | |
| messageLevel | ;INFO | Possible values: ERR, WARN, INFO, VERBOSE, DEBUG. | |
| events | buildStarted, buildFinished, targetStarted, targetFinished | Comma separated list of events to vocalize. Possible values:
|
|
| buildSuccessfulMessage | Build successful | {0} - Project name {1} - Project description |
Build successful message |
| buildFailedMessage | Build failed | {0} - Project name {1} - Project description {2} - Exception class {3} - Exception message |
Build failed message |
| buildStartedMessage | Build started | {0} - Project name {1} - Project description |
Build started message |
| unknownTargetFinishedMessage | Unknown target finished | This message is spoken if buildEvent.getTarget()==null in targetFinished(). Should never happen. |
|
| targetFinishedMessage | Target {0} finished | {0} - Target name {1} - Target description |
Target finished message |
| unknownTargetStartedMessage | Unknown target started | This message is spoken if buildEvent.getTarget()==null in targetStarted(). Should never happen. |
|
| targetFinishedMessage | Target {0} finished | {0} - Target name {1} - Target description |
Target started message |
| unknownTaskFinishedMessage | Unknown task finished | This message is spoken if buildEvent.getTask()==null in taskFinished(). Should never happen. |
|
| taskFinishedMessage | Task {0} finished | {0} - Task name {1} - Task description |
Task finished message |
| unknownTaskStartedMessage | Unknown task started | This message is spoken if buildEvent.getTask()==null in taskStarted(). Should never happen. |
|
| taskStartedMessage | Task {0} started | {0} - Task name {1} - Task description |
Task started message |
| Constructor Summary | |
VoiceBuildListener()
Creates a new instance of VoiceBuildListener |
|
| Method Summary | |
void |
buildFinished(org.apache.tools.ant.BuildEvent buildEvent)
|
void |
buildStarted(org.apache.tools.ant.BuildEvent buildEvent)
|
void |
messageLogged(org.apache.tools.ant.BuildEvent buildEvent)
|
void |
targetFinished(org.apache.tools.ant.BuildEvent buildEvent)
|
void |
targetStarted(org.apache.tools.ant.BuildEvent buildEvent)
|
void |
taskFinished(org.apache.tools.ant.BuildEvent buildEvent)
|
void |
taskStarted(org.apache.tools.ant.BuildEvent buildEvent)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VoiceBuildListener()
| Method Detail |
public void buildFinished(org.apache.tools.ant.BuildEvent buildEvent)
buildFinished in interface org.apache.tools.ant.BuildListenerpublic void buildStarted(org.apache.tools.ant.BuildEvent buildEvent)
buildStarted in interface org.apache.tools.ant.BuildListenerpublic void messageLogged(org.apache.tools.ant.BuildEvent buildEvent)
messageLogged in interface org.apache.tools.ant.BuildListenerpublic void targetFinished(org.apache.tools.ant.BuildEvent buildEvent)
targetFinished in interface org.apache.tools.ant.BuildListenerpublic void targetStarted(org.apache.tools.ant.BuildEvent buildEvent)
targetStarted in interface org.apache.tools.ant.BuildListenerpublic void taskFinished(org.apache.tools.ant.BuildEvent buildEvent)
taskFinished in interface org.apache.tools.ant.BuildListenerpublic void taskStarted(org.apache.tools.ant.BuildEvent buildEvent)
taskStarted in interface org.apache.tools.ant.BuildListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||