Package org.apache.jackrabbit.server.io
Interface IOContext
-
- All Known Subinterfaces:
ExportContext
,ImportContext
,PropertyExportContext
,PropertyImportContext
- All Known Implementing Classes:
AbstractExportContext
,ExportContextImpl
,ImportContextImpl
public interface IOContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IOListener
getIOListener()
Returns the IOListener.boolean
hasStream()
Return true if the given export context can provide an output streamvoid
informCompleted(boolean success)
Informs this context that it will not be used for further exports any more.boolean
isCompleted()
Returns true if this context already has been completed.
-
-
-
Method Detail
-
getIOListener
IOListener getIOListener()
Returns the IOListener.
-
hasStream
boolean hasStream()
Return true if the given export context can provide an output stream
-
informCompleted
void informCompleted(boolean success)
Informs this context that it will not be used for further exports any more. A boolean flag indicates about the success of the export.
-
isCompleted
boolean isCompleted()
Returns true if this context already has been completed.- Returns:
- true if this context already has been completed.
-
-