Class ExecutionResult


  • public class ExecutionResult
    extends Object
    Result of a script execution.
    Author:
    Roland Gruber
    • Constructor Detail

      • ExecutionResult

        public ExecutionResult​(ExecutionState state,
                               String time,
                               String result,
                               String output,
                               ExecutionResult fallbackResult,
                               String path)
        Constructor
        Parameters:
        state - execution state
        time - execution time
        result - result
        output - script output
        fallbackResult - fallback script result
        path - script path
    • Method Detail

      • getState

        public ExecutionState getState()
        Returns the execution state.
        Returns:
        state
      • getResult

        public String getResult()
        Returns the script result.
        Returns:
        output
      • getOutput

        public String getOutput()
        Returns the script output.
        Returns:
        output
      • getTime

        public String getTime()
        Returns the execution time.
        Returns:
        time
      • getFallbackResult

        public ExecutionResult getFallbackResult()
        Returns the fallback script result if any.
        Returns:
        result
      • getPath

        public String getPath()
        Returns the script path.
        Returns:
        path
      • getShortPath

        public String getShortPath()
        Returns the short script path (stripped by prefix) or the unmodified path in case the script path does not start with AecuService.AECU_VAR_PATH_PREFIX.
        Returns:
        short path