Package org.iplass.mtp.runtime
Interface Runner
public interface Runner
An interface for executing logic from EntryPoint in iPLAss.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Execute logic.run
(String commandName, RequestContext request) Execute the Command with the specified commandName via CommandInvoker.<T> T
Execute logic.withAuth
(Credential credential) Set to execute the logic by logging in with the specified credentials.Set to execute logic in the specified language.withTenant
(Integer tenantId) Set to execute logic with the specified tenant ID.withTenant
(String tenantUrl) Set to execute logic with the specified tenant URL.
-
Method Details
-
withTenant
Set to execute logic with the specified tenant URL.- Parameters:
tenantUrl
-- Returns:
-
withTenant
Set to execute logic with the specified tenant ID.- Parameters:
tenantId
-- Returns:
-
withAuth
Set to execute the logic by logging in with the specified credentials.- Parameters:
credential
-- Returns:
-
withLang
Set to execute logic in the specified language.- Parameters:
lang
-- Returns:
-
run
Execute logic.- Parameters:
r
-
-
run
Execute logic.- Parameters:
s
-- Returns:
-
run
Execute the Command with the specified commandName via CommandInvoker.- Parameters:
commandName
-request
-- Returns:
-