Package org.pentaho.platform.api.action
Interface IActionAdaptor
public interface IActionAdaptor
This interface will provide a way to create an adaptor between
IAction
and
any orchestration tool like for example Mesos or Kubernetes etc.-
Method Summary
Modifier and TypeMethodDescriptionDelete the requestExecute the request in the orchestration environmentSchedule the request for execution in the orchestration environment in future
-
Method Details
-
execute
IActionInvokeStatus execute(IAction action, String user, Map<String, Serializable> params) throws ExceptionExecute the request in the orchestration environment- Parameters:
user
- The user invoking the action- Returns:
- the
IActionInvokeStatus
object containing result of the action - Throws:
Exception
-
schedule
IActionInvokeStatus schedule(IAction action, String user, Map<String, Serializable> params) throws ExceptionSchedule the request for execution in the orchestration environment in future- Parameters:
user
- The user invoking the action- Returns:
- the
IActionInvokeStatus
object containing result of the action - Throws:
Exception
-
delete
IActionInvokeStatus delete(IAction action, String user, Map<String, Serializable> params) throws ExceptionDelete the request- Parameters:
user
- The user invoking the action- Returns:
- the
IActionInvokeStatus
object containing result of the action - Throws:
Exception
-