com.philemonworks.selfdiagnose
Class CompositeDiagnosticTaskResult

java.lang.Object
  extended by com.philemonworks.selfdiagnose.DiagnosticTaskResult
      extended by com.philemonworks.selfdiagnose.CompositeDiagnosticTaskResult

public class CompositeDiagnosticTaskResult
extends DiagnosticTaskResult

CompositeDiagnosticTaskResult is

Author:
E.M.Micklei

Field Summary
 boolean includeCompositeResult
           
 
Fields inherited from class com.philemonworks.selfdiagnose.DiagnosticTaskResult
STATUS_ERROR, STATUS_FAILED, STATUS_PASSED, STATUS_UNKNOWN
 
Constructor Summary
CompositeDiagnosticTaskResult(DiagnosticTask task)
           
 
Method Summary
 void addResult(DiagnosticTaskResult result)
           
 void addToResults(List newResults)
          Add all results to the list.
 List getResults()
           
 int howManyErrors()
           
 String toString()
           
 
Methods inherited from class com.philemonworks.selfdiagnose.DiagnosticTaskResult
getComment, getExecutionTime, getMessage, getStatus, getTask, hasComment, isError, isFailed, isPassed, isUnknown, logReport, setComment, setErrorMessage, setExecutionTime, setFailedMessage, setPassedMessage, wantsToBeReported, writeMessagesOn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

includeCompositeResult

public boolean includeCompositeResult
Constructor Detail

CompositeDiagnosticTaskResult

public CompositeDiagnosticTaskResult(DiagnosticTask task)
Parameters:
task -
Method Detail

addResult

public void addResult(DiagnosticTaskResult result)

getResults

public List getResults()

howManyErrors

public int howManyErrors()

addToResults

public void addToResults(List newResults)
Add all results to the list.

Overrides:
addToResults in class DiagnosticTaskResult

toString

public String toString()
Overrides:
toString in class DiagnosticTaskResult


Copyright © 2012. All Rights Reserved.