Interface CACommandExecutorType<C extends CACommandContext<R>,M extends CAProtocolMessageType,R extends CAProtocolMessageType>
- Type Parameters:
C- The type of command contextsM- The type of accepted commandsR- The type of responses
- All Known Implementing Classes:
CAICmdAbstract,CAICmdAuditSearchBegin,CAICmdAuditSearchNext,CAICmdAuditSearchPrevious,CAICmdFileDelete,CAICmdFileGet,CAICmdFilePut,CAICmdFileSearchBegin,CAICmdFileSearchNext,CAICmdFileSearchPrevious,CAICmdItemAttachmentAdd,CAICmdItemAttachmentRemove,CAICmdItemCreate,CAICmdItemDelete,CAICmdItemGet,CAICmdItemMetadataPut,CAICmdItemMetadataRemove,CAICmdItemSearchBegin,CAICmdItemSearchNext,CAICmdItemSearchPrevious,CAICmdItemSetName,CAICmdItemTypesAssign,CAICmdItemTypesRevoke,CAICmdLocationAttachmentAdd,CAICmdLocationAttachmentRemove,CAICmdLocationDelete,CAICmdLocationGet,CAICmdLocationMetadataPut,CAICmdLocationMetadataRemove,CAICmdLocationPut,CAICmdLocationsList,CAICmdLocationTypesAssign,CAICmdLocationTypesRevoke,CAICmdRolesAssign,CAICmdRolesGet,CAICmdRolesRevoke,CAICmdStockCount,CAICmdStockReposit,CAICmdStockSearchBegin,CAICmdStockSearchNext,CAICmdStockSearchPrevious,CAICmdTypePackageGetText,CAICmdTypePackageInstall,CAICmdTypePackageSearchBegin,CAICmdTypePackageSearchNext,CAICmdTypePackageSearchPrevious,CAICmdTypePackageUninstall,CAICmdTypePackageUpgrade,CAICommandExecutor
public interface CACommandExecutorType<C extends CACommandContext<R>,M extends CAProtocolMessageType,R extends CAProtocolMessageType>
The type of command executors.
-
Method Summary
-
Method Details
-
execute
Execute a command.- Parameters:
context- The execution contextcommand- The command- Returns:
- The result of execution
- Throws:
CACommandExecutionFailure- On errorsInterruptedException- On interruptionIOException- On I/O errors
-