Interface StoreAgent


public interface StoreAgent
Definition for an agent offering access to FirstSpirit's stores.

Example:
SpecialistsBroker.requireSpecialist(StoreAgent.TYPE)

Since:
4.2.405
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The specialized agent's technical type to be used for requesting the agent from a SpecialistsBroker.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Store
    Get the store of the requested type on elements in current state.
    @NotNull Store
    getStore(Store.Type type, boolean release)
    Get the store of the requested type.
  • Field Details

  • Method Details

    • getStore

      @NotNull @NotNull Store getStore(@NotNull Store.Type type)
      Get the store of the requested type on elements in current state.
      Parameters:
      type - The store's type.
      Returns:
      The requested store.
      Since:
      4.2.405
    • getStore

      @NotNull @NotNull Store getStore(@NotNull Store.Type type, boolean release)
      Get the store of the requested type. If release is true, returns a store on elements in release state, otherwise, returns a store on elements in current state.
      Parameters:
      type - The store's type.
      release - Indicates the desired release state.
      Returns:
      The requested store.
      Since:
      4.2.405