Package org.jboss.as.controller.client
Interface OperationAttachments
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Subinterfaces:
Operation
public interface OperationAttachments extends Closeable
The operation attachments. This interface extendsCloseable
which can be used to close all associated input streams with this attachment.- Author:
- Kabir Khan
-
-
Field Summary
Fields Modifier and Type Field Description static OperationAttachments
EMPTY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<InputStream>
getInputStreams()
Input streams associated with the operationboolean
isAutoCloseStreams()
Flag indicating whether the streams should be automatically closed once the operation completed.
-
-
-
Field Detail
-
EMPTY
static final OperationAttachments EMPTY
-
-
Method Detail
-
isAutoCloseStreams
boolean isAutoCloseStreams()
Flag indicating whether the streams should be automatically closed once the operation completed.- Returns:
true
if the streams are going to be closed, false otherwise
-
getInputStreams
List<InputStream> getInputStreams()
Input streams associated with the operation- Returns:
- the streams. If there are none an empty list is returned
-
-