org.apache.uima.aae.error
Class ErrorResultBaseImpl

java.lang.Object
  extended by org.apache.uima.aae.error.ErrorResultBaseImpl
All Implemented Interfaces:
java.io.Serializable, ErrorResult

public class ErrorResultBaseImpl
extends java.lang.Object
implements ErrorResult

See Also:
Serialized Form

Constructor Summary
ErrorResultBaseImpl()
           
 
Method Summary
 void addComponentKeyPath(java.lang.String aComponentKeyPath)
           
 void addComponentKeyPath(java.lang.String aComponentKeyPath, boolean terminated, boolean disabled)
           
 ErrorResultComponentPath getComponentKeyPath()
          Returns a path consisting of a list of component key names
 java.lang.Throwable getRootCause()
          Returns the underlying root cause first reported as an error
 ErrorResultTDs getTDs()
          Returns a collection of paths to the components that were terminated or disabled
 void setDisabled()
           
 void setRootCause(java.lang.Throwable aThrowable)
           
 void setTerminated()
           
 boolean wasDisabled()
          Returns true if any disabling occured with this error
 boolean wasTerminated()
          Returns true is any termination occurred with this error
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorResultBaseImpl

public ErrorResultBaseImpl()
Method Detail

addComponentKeyPath

public void addComponentKeyPath(java.lang.String aComponentKeyPath)
Specified by:
addComponentKeyPath in interface ErrorResult

addComponentKeyPath

public void addComponentKeyPath(java.lang.String aComponentKeyPath,
                                boolean terminated,
                                boolean disabled)
Specified by:
addComponentKeyPath in interface ErrorResult

getComponentKeyPath

public ErrorResultComponentPath getComponentKeyPath()
Description copied from interface: ErrorResult
Returns a path consisting of a list of component key names

Specified by:
getComponentKeyPath in interface ErrorResult
Returns:
a path consisting of a list of component key names

getRootCause

public java.lang.Throwable getRootCause()
Description copied from interface: ErrorResult
Returns the underlying root cause first reported as an error

Specified by:
getRootCause in interface ErrorResult
Returns:
Throwable

getTDs

public ErrorResultTDs getTDs()
Description copied from interface: ErrorResult
Returns a collection of paths to the components that were terminated or disabled

Specified by:
getTDs in interface ErrorResult
Returns:
a collection of paths to the components that were terminated or disabled

setDisabled

public void setDisabled()
Specified by:
setDisabled in interface ErrorResult

setRootCause

public void setRootCause(java.lang.Throwable aThrowable)
Specified by:
setRootCause in interface ErrorResult

setTerminated

public void setTerminated()
Specified by:
setTerminated in interface ErrorResult

wasDisabled

public boolean wasDisabled()
Description copied from interface: ErrorResult
Returns true if any disabling occured with this error

Specified by:
wasDisabled in interface ErrorResult
Returns:
true if any disabling occured with this error

wasTerminated

public boolean wasTerminated()
Description copied from interface: ErrorResult
Returns true is any termination occurred with this error

Specified by:
wasTerminated in interface ErrorResult
Returns:
true is any termination occurred with this error


Copyright © 2011. All Rights Reserved.