org.jomc.ant.test.support
Class AntExecutionResult

Package class diagram package AntExecutionResult
java.lang.Object
  extended by org.jomc.ant.test.support.AntExecutionResult

public class AntExecutionResult
extends Object

Result of an execution of an Ant target.

Version:
$JOMC: AntExecutionResult.java 3838 2011-10-08 20:15:41Z schulte2005 $
Author:
Christian Schulte

Constructor Summary
AntExecutionResult()
          Creates a new AntExecutionResult.
 
Method Summary
 List<org.apache.tools.ant.BuildEvent> getBuildFinishedEvents()
          Gets the list of buildFinished events fired during execution of the target.
 List<org.apache.tools.ant.BuildEvent> getBuildStartedEvents()
          Gets the list of buildStarted events fired during execution of the target.
 List<org.apache.tools.ant.BuildEvent> getMessageLoggedEvents()
          Gets the list of messageLogged events fired during execution of the target.
 String getSystemError()
          Gets the characters written to the system error stream during execution of the target.
 String getSystemOutput()
          Gets the characters written to the system output stream during execution of the target.
 List<org.apache.tools.ant.BuildEvent> getTargetFinishedEvents()
          Gets the list of targetFinished events fired during execution of the target.
 List<org.apache.tools.ant.BuildEvent> getTargetStartedEvents()
          Gets the list of targetStarted events fired during execution of the target.
 List<org.apache.tools.ant.BuildEvent> getTaskFinishedEvents()
          Gets the list of taskFinished events fired during execution of the target.
 List<org.apache.tools.ant.BuildEvent> getTaskStartedEvents()
          Gets the list of taskStarted events fired during execution of the target.
 Throwable getThrowable()
          Gets the throwable thrown by the execution of the target.
 void setSystemError(String value)
          Set the characters written to the system error stream during execution of the target.
 void setSystemOutput(String value)
          Set the characters written to the system output stream during execution of the target.
 void setThrowable(Throwable value)
          Sets the throwable thrown by the execution of the target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntExecutionResult

public AntExecutionResult()
Creates a new AntExecutionResult.

Method Detail

getSystemOutput

public final String getSystemOutput()
Gets the characters written to the system output stream during execution of the target.

Returns:
The characters written to the system output stream during execution of the target or null.

setSystemOutput

public final void setSystemOutput(String value)
Set the characters written to the system output stream during execution of the target.

Parameters:
value - The new characters written to the system output stream during execution of the target or null.

getSystemError

public final String getSystemError()
Gets the characters written to the system error stream during execution of the target.

Returns:
The characters written to the system error stream during execution of the target or null.

setSystemError

public final void setSystemError(String value)
Set the characters written to the system error stream during execution of the target.

Parameters:
value - The new characters written to the system error stream during execution of the target or null.

getThrowable

public final Throwable getThrowable()
Gets the throwable thrown by the execution of the target.

Returns:
The throwable thrown by the execution of the target or null.

setThrowable

public final void setThrowable(Throwable value)
Sets the throwable thrown by the execution of the target.

Parameters:
value - The new throwable thrown by the execution of the target or null.

getBuildStartedEvents

public final List<org.apache.tools.ant.BuildEvent> getBuildStartedEvents()
Gets the list of buildStarted events fired during execution of the target.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the object. This is why there is no set method for the build started events property.

Returns:
The list of buildStarted events fired during execution of the target.

getBuildFinishedEvents

public final List<org.apache.tools.ant.BuildEvent> getBuildFinishedEvents()
Gets the list of buildFinished events fired during execution of the target.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the object. This is why there is no set method for the build finished events property.

Returns:
The list of buildFinished events fired during execution of the target.

getTargetStartedEvents

public final List<org.apache.tools.ant.BuildEvent> getTargetStartedEvents()
Gets the list of targetStarted events fired during execution of the target.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the object. This is why there is no set method for the target started events property.

Returns:
The list of targetStarted events fired during execution of the target.

getTargetFinishedEvents

public final List<org.apache.tools.ant.BuildEvent> getTargetFinishedEvents()
Gets the list of targetFinished events fired during execution of the target.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the object. This is why there is no set method for the target finished events property.

Returns:
The list of targetFinished events fired during execution of the target.

getTaskStartedEvents

public final List<org.apache.tools.ant.BuildEvent> getTaskStartedEvents()
Gets the list of taskStarted events fired during execution of the target.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the object. This is why there is no set method for the task started events property.

Returns:
The list of taskStarted events fired during execution of the target.

getTaskFinishedEvents

public final List<org.apache.tools.ant.BuildEvent> getTaskFinishedEvents()
Gets the list of taskFinished events fired during execution of the target.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the object. This is why there is no set method for the task finished events property.

Returns:
The list of taskFinished events fired during execution of the target.

getMessageLoggedEvents

public final List<org.apache.tools.ant.BuildEvent> getMessageLoggedEvents()
Gets the list of messageLogged events fired during execution of the target.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the object. This is why there is no set method for the message logged events property.

Returns:
The list of messageLogger events fired during execution of the target.


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.