Package org.pentaho.platform.api.action
Interface IActionAdaptor
-
public interface IActionAdaptorThis interface will provide a way to create an adaptor betweenIActionand any orchestration tool like for example Mesos or Kubernetes etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IActionInvokeStatusdelete(IAction action, String user, Map<String,Serializable> params)Delete the requestIActionInvokeStatusexecute(IAction action, String user, Map<String,Serializable> params)Execute the request in the orchestration environmentIActionInvokeStatusschedule(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
IActionInvokeStatusobject 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
IActionInvokeStatusobject 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
IActionInvokeStatusobject containing result of the action - Throws:
Exception
-
-