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,CAICmdFileGet,CAICmdFilePut,CAICmdFileRemove,CAICmdFileSearchBegin,CAICmdFileSearchNext,CAICmdFileSearchPrevious,CAICmdItemAttachmentAdd,CAICmdItemAttachmentRemove,CAICmdItemCreate,CAICmdItemGet,CAICmdItemLocationsList,CAICmdItemMetadataPut,CAICmdItemMetadataRemove,CAICmdItemReposit,CAICmdItemSearchBegin,CAICmdItemSearchNext,CAICmdItemSearchPrevious,CAICmdItemSetName,CAICmdItemsRemove,CAICmdItemTypesAssign,CAICmdItemTypesRevoke,CAICmdLocationAttachmentAdd,CAICmdLocationAttachmentRemove,CAICmdLocationGet,CAICmdLocationMetadataPut,CAICmdLocationMetadataRemove,CAICmdLocationPut,CAICmdLocationsList,CAICmdLocationTypesAssign,CAICmdLocationTypesRevoke,CAICmdRolesAssign,CAICmdRolesGet,CAICmdRolesRevoke,CAICmdTypePackageGetText,CAICmdTypePackageInstall,CAICmdTypePackageSearchBegin,CAICmdTypePackageSearchNext,CAICmdTypePackageSearchPrevious,CAICmdTypePackageUninstall,CAICmdTypePackageUpgrade,CAICmdTypeRecordGet,CAICmdTypeRecordSearchBegin,CAICmdTypeRecordSearchNext,CAICmdTypeRecordSearchPrevious,CAICmdTypeScalarGet,CAICmdTypeScalarSearchBegin,CAICmdTypeScalarSearchNext,CAICmdTypeScalarSearchPrevious,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
-