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 extendsCloseablewhich can be used to close all associated input streams with this attachment.- Author:
- Kabir Khan
-
-
Field Summary
Fields Modifier and Type Field Description static OperationAttachmentsEMPTY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<InputStream>getInputStreams()Input streams associated with the operationbooleanisAutoCloseStreams()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:
trueif 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
-
-