BEA Systems, Inc.

com.beasys.commerce.axiom.reasoning.rules.util
Interface ResultWriter

All Known Implementing Classes:
LoaderContainer

public interface ResultWriter

Specifies the behavior for a result writer


Method Summary
 void writeMessage(java.lang.String message)
          Writes a message result
 void writeTotalItemsFailed(long totalItemsFailed)
          Writes a total items failed result
 void writeTotalItemsLoaded(long totalItemsLoaded)
          Writes a total items loaded result
 void writeTotalTime(long totalTime)
          Writes a total time result
 

Method Detail

writeMessage

public void writeMessage(java.lang.String message)
                  throws java.lang.IllegalArgumentException
Writes a message result
Parameters:
message - The result to write
Throws:
java.lang.IllegalArgumentException - Thrown if message is null

writeTotalItemsFailed

public void writeTotalItemsFailed(long totalItemsFailed)
                           throws java.lang.IllegalArgumentException
Writes a total items failed result
Parameters:
totalItemsFailed - The total number of items that failed
Throws:
java.lang.IllegalArgumentException - Thrown if totalItemsFailed is negative

writeTotalItemsLoaded

public void writeTotalItemsLoaded(long totalItemsLoaded)
                           throws java.lang.IllegalArgumentException
Writes a total items loaded result
Parameters:
totalItemsLoaded - The total number of items loaded
Throws:
java.lang.IllegalArgumentException - Thrown if totalItemsLoaded is negative

writeTotalTime

public void writeTotalTime(long totalTime)
                    throws java.lang.IllegalArgumentException
Writes a total time result
Parameters:
totalTime - The total time in milliseconds
Throws:
java.lang.IllegalArgumentException - Thrown if totalTime is negative

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved