Interface Runner


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

    Modifier and Type Method Description
    void run​(java.lang.Runnable r)
    Execute logic.
    java.lang.String run​(java.lang.String commandName, RequestContext request)
    Execute the Command with the specified commandName via CommandInvoker.
    <T> T run​(java.util.function.Supplier<T> s)
    Execute logic.
    Runner withAuth​(Credential credential)
    Set to execute the logic by logging in with the specified credentials.
    Runner withLang​(java.lang.String lang)
    Set to execute logic in the specified language.
    Runner withTenant​(java.lang.Integer tenantId)
    Set to execute logic with the specified tenant ID.
    Runner withTenant​(java.lang.String tenantUrl)
    Set to execute logic with the specified tenant URL.
  • Method Details

    • withTenant

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

      Runner withTenant​(java.lang.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​(java.lang.String lang)
      Set to execute logic in the specified language.
      Parameters:
      lang -
      Returns:
    • run

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

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

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