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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Default timeout for all operations unless otherwise defined within OPERATION_TIMEOUTS Map.
    static final int
     
    static final Map<Class<? extends APIOperation>,Integer>
    Map of operations and their default timeout values.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static int
    getTimeout(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_TIMEOUT
      Default timeout for all operations unless otherwise defined within OPERATION_TIMEOUTS Map.
      See Also:
    • OPERATION_TIMEOUTS

      static final Map<Class<? extends APIOperation>,Integer> OPERATION_TIMEOUTS
      Map of operations and their default timeout values.
  • Method Details

    • getTimeout

      static int getTimeout(Class<? extends APIOperation> operation)
      Retrieves the timeout for a given operation.