Package org.pentaho.platform.api.action
Interface IActionAdaptor
-
public interface IActionAdaptor
This interface will provide a way to create an adaptor betweenIAction
and any orchestration tool like for example Mesos or Kubernetes etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IActionInvokeStatus
delete(IAction action, String user, Map<String,Serializable> params)
Delete the requestIActionInvokeStatus
execute(IAction action, String user, Map<String,Serializable> params)
Execute the request in the orchestration environmentIActionInvokeStatus
schedule(IAction action, String user, Map<String,Serializable> params)
Schedule the request for execution in the orchestration environment in future
-
-
-
Method Detail
-
execute
IActionInvokeStatus execute(IAction action, String user, Map<String,Serializable> params) throws Exception
Execute 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 Exception
Schedule 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 Exception
Delete the request- Parameters:
user
- The user invoking the action- Returns:
- the
IActionInvokeStatus
object containing result of the action - Throws:
Exception
-
-