Package org.pentaho.platform.api.action
Interface IActionInvokeStatus
public interface IActionInvokeStatus
An API for the object representation of action invocation status, allows us to pass back status
of action invocation, whether any exceptions occurred during invocation and whether the action
needs to be retired.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the object representing the stream provider containing the file associated with the given action.default booleanReturn the success/failure of the execution.booleanReturns true if theIActionthat was just invoked needs to be resubmitted.default voidsetExecutionStatus(boolean status) Set the execution status.voidsetRequiresUpdate(boolean requiresUpdate) voidsetStreamProvider(Object streamProvider) voidsetThrowable(Throwable throwable)
-
Method Details
-
setRequiresUpdate
void setRequiresUpdate(boolean requiresUpdate) -
requiresUpdate
boolean requiresUpdate()Returns true if theIActionthat was just invoked needs to be resubmitted. Used for scheduling purposes only.- Returns:
- true if the
IActionthat was just invoked needs to be resubmitted and false otherwise
-
setThrowable
-
getThrowable
Throwable getThrowable() -
getStreamProvider
Object getStreamProvider()Returns the object representing the stream provider containing the file associated with the given action.- Returns:
- the object representing the stream provider containing the file associated with the given action.
-
setStreamProvider
-
isExecutionSuccessful
default boolean isExecutionSuccessful()Return the success/failure of the execution. Added default method to maintain backward compatibility.- Returns:
- boolean
-
setExecutionStatus
default void setExecutionStatus(boolean status) Set the execution status. Added default method to maintain backward compatibility.- Parameters:
status- boolean
-