Interface Runner


public interface Runner
An interface for executing logic from EntryPoint in iPLAss.
  • Method Details

    • withTenant

      Runner withTenant(String tenantUrl)
      Set to execute logic with the specified tenant URL.
      Parameters:
      tenantUrl -
      Returns:
    • withTenant

      Runner withTenant(Integer tenantId)
      Set to execute logic with the specified tenant ID.
      Parameters:
      tenantId -
      Returns:
    • withAuth

      Runner withAuth(Credential credential)
      Set to execute the logic by logging in with the specified credentials.
      Parameters:
      credential -
      Returns:
    • withLang

      Runner withLang(String lang)
      Set to execute logic in the specified language.
      Parameters:
      lang -
      Returns:
    • run

      void run(Runnable r)
      Execute logic.
      Parameters:
      r -
    • run

      <T> T run(Supplier<T> s)
      Execute logic.
      Parameters:
      s -
      Returns:
    • run

      String run(String commandName, RequestContext request)
      Execute the Command with the specified commandName via CommandInvoker.
      Parameters:
      commandName -
      request -
      Returns: