Interface APIOperation
- All Known Subinterfaces:
AuthenticationApiOp,BatchApiOp,ConnectorEventSubscriptionApiOp,ConnectorFacade,CreateApiOp,DeleteApiOp,GetApiOp,ResolveUsernameApiOp,SchemaApiOp,ScriptOnConnectorApiOp,ScriptOnResourceApiOp,SearchApiOp,SyncApiOp,SyncEventSubscriptionApiOp,TestApiOp,UpdateApiOp,ValidateApiOp
public interface APIOperation
Base interface for all API operations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault timeout for all operations unless otherwise defined within OPERATION_TIMEOUTS Map.static final intstatic final Map<Class<? extends APIOperation>,Integer> Map of operations and their default timeout values. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic intgetTimeout(Class<? extends APIOperation> operation) Retrieves the timeout for a given operation.
-
Field Details
-
NO_TIMEOUT
static final int NO_TIMEOUT- See Also:
-
DEFAULT_TIMEOUT
static final int DEFAULT_TIMEOUTDefault timeout for all operations unless otherwise defined within OPERATION_TIMEOUTS Map.- See Also:
-
OPERATION_TIMEOUTS
Map of operations and their default timeout values.
-
-
Method Details
-
getTimeout
Retrieves the timeout for a given operation.
-