Package com.sodius.mdw.core.operations
Interface StatusWriter
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface StatusWriter
Writes an operation status tree in a stream. This class can be used to generate a log of operation execution, so that a developer can then analyze it on post-execution.It is highly recommended to use one of the default implementations (e.g.
Factory.createHTML()).Clients may implement this interface.
- Since:
- 3.5.1
- See Also:
StatusWriter.Factory.createHTML(),Operation.getStatus()
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStatusWriter.FactoryCreates a new instance ofStatusWriterusing default implementations.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(OperationStatus status, OutputStream os)Writes the specified operation status into the stream.
-
-
-
Method Detail
-
write
void write(OperationStatus status, OutputStream os) throws CoreException
Writes the specified operation status into the stream.- Parameters:
status- the operation statusos- the stream where to write the status information- Throws:
CoreException- if the status could not be written in the stream.
-
-