Package de.valtech.aecu.api.service
Class ExecutionResult
- java.lang.Object
- 
- de.valtech.aecu.api.service.ExecutionResult
 
- 
 public class ExecutionResult extends Object Result of a script execution.- Author:
- Roland Gruber
 
- 
- 
Constructor SummaryConstructors Constructor Description ExecutionResult(ExecutionState state, String time, String result, String output, ExecutionResult fallbackResult, String path)Constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionResultgetFallbackResult()Returns the fallback script result if any.StringgetOutput()Returns the script output.StringgetPath()Returns the script path.StringgetResult()Returns the script result.StringgetShortPath()Returns the short script path (stripped by prefix) or the unmodified path in case the script path does not start withAecuService.AECU_VAR_PATH_PREFIX.ExecutionStategetState()Returns the execution state.StringgetTime()Returns the execution time.StringtoString()
 
- 
- 
- 
Constructor Detail- 
ExecutionResultpublic 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- 
getStatepublic ExecutionState getState() Returns the execution state.- Returns:
- state
 
 - 
getResultpublic String getResult() Returns the script result.- Returns:
- output
 
 - 
getOutputpublic String getOutput() Returns the script output.- Returns:
- output
 
 - 
getTimepublic String getTime() Returns the execution time.- Returns:
- time
 
 - 
getFallbackResultpublic ExecutionResult getFallbackResult() Returns the fallback script result if any.- Returns:
- result
 
 - 
getPathpublic String getPath() Returns the script path.- Returns:
- path
 
 - 
getShortPathpublic String getShortPath() Returns the short script path (stripped by prefix) or the unmodified path in case the script path does not start withAecuService.AECU_VAR_PATH_PREFIX.- Returns:
- short path
 
 
- 
 
-