org.weborganic.ox.tool
Interface Result

All Superinterfaces:
XMLWritable
All Known Implementing Classes:
CheckRoundTripCommand.CheckRoundTripResult, DiffTextCommand.CheckTextResult, PackageDOCXCommand.PackageDOCXResult, SchematronCommand.SchemaResult, SimplifyDOCXCommand.SimplifierResult, TidyCommand.TidyResult, TransformCommand.TransformResult

public interface Result
extends XMLWritable

The result of a command.

It should have an XML representation and wrap the information about the result of a command.

Version:
28 October 2013
Author:
Christophe Lauret

Method Summary
 PackageData data()
           
 Exception error()
           
 Model model()
           
 ResultStatus status()
           
 long time()
           
 
Methods inherited from interface com.topologi.diffx.xml.XMLWritable
toXML
 

Method Detail

model

Model model()
Returns:
The model used to generate that result.

data

PackageData data()
Returns:
The ID of the data that has been processed.

time

long time()
Returns:
The time it took to execute the command in milliseconds.

status

ResultStatus status()
Returns:
The status of that result.

error

Exception error()
Returns:
Any error that may have occurred and caused the command to fail.