Class AnalysisExecutionInfo
java.lang.Object
com.jacob.com.JacobObject
com.jacob.com.Dispatch
de.tracetronic.jenkins.plugins.ecutest.wrapper.com.ETComDispatch
de.tracetronic.jenkins.plugins.ecutest.wrapper.com.AnalysisExecutionInfo
- All Implemented Interfaces:
ComAnalysisExecutionInfo,AutoCloseable
COM object providing operations to obtain informations of the currently analysis job.
-
Field Summary
Fields inherited from class com.jacob.com.Dispatch
fdexNameCaseSensitive, Get, LOCALE_SYSTEM_DEFAULT, m_pDispatch, Method, Put, PutRef -
Constructor Summary
ConstructorsConstructorDescriptionAnalysisExecutionInfo(com.jacob.com.Dispatch dispatch, boolean useTimeout) Instantiates a newAnalysisExecutionInfo. -
Method Summary
Modifier and TypeMethodDescriptionbooleanabort()Aborts the current analysis execution.Folder where trace and log files of the currently executed analysis job are stored.Queries the path to report database of current (or most recent) analysis job execution.Returns the result of the analysis job execution.getState()Returns the state of the current analysis job execution.Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.wrapper.com.ETComDispatch
close, finalize, isAttached, performDirectRequest, performDirectRequest, performRequest, performRequest, performRequest, performRequest, useTimeoutMethods inherited from class com.jacob.com.Dispatch
call, call, call, call, callN, callN, callN_CaseSensitive, callSub, callSub, callSub, callSub, callSubN, callSubN, coCreateInstance, get, get, get_CaseSensitive, getActiveInstance, getIDOfName, getIDsOfNames, getIDsOfNames, getProgramId, hasExited, hasExited, invoke, invoke, invoke, invokeSub, invokeSub, invokeSub, invokeSubv, invokeSubv, invokeSubv, invokev, invokev, invokev, invokev, put, put, put_Casesensitive, putRef, putRef, QueryInterface, safeReleaseMethods inherited from class com.jacob.com.JacobObject
debug, getBuildDate, getBuildVersion, isDebugEnabled
-
Constructor Details
-
AnalysisExecutionInfo
public AnalysisExecutionInfo(com.jacob.com.Dispatch dispatch, boolean useTimeout) Instantiates a newAnalysisExecutionInfo.This constructor is used instead of a case operation to turn a Dispatch object into a wider object - it must exist in every wrapper class whose instances may be returned from method calls wrapped in VT_DISPATCH Variants.
- Parameters:
dispatch- the dispatchuseTimeout- specifies whether to apply timeout
-
-
Method Details
-
abort
Description copied from interface:ComAnalysisExecutionInfoAborts the current analysis execution.- Specified by:
abortin interfaceComAnalysisExecutionInfo- Returns:
trueif the abortion succeeded,false, if the analysis execution has already finished or aborted- Throws:
ETComException- in case of a COM exception
-
getReportDb
Description copied from interface:ComAnalysisExecutionInfoQueries the path to report database of current (or most recent) analysis job execution.- Specified by:
getReportDbin interfaceComAnalysisExecutionInfo- Returns:
- the path to report database
- Throws:
ETComException- in case of a COM exception
-
getLogFolder
Description copied from interface:ComAnalysisExecutionInfoFolder where trace and log files of the currently executed analysis job are stored. Please note, each analysis job has got a separate log folder.- Specified by:
getLogFolderin interfaceComAnalysisExecutionInfo- Returns:
- the log folder
- Throws:
ETComException- in case of a COM exception
-
getResult
Description copied from interface:ComAnalysisExecutionInfoReturns the result of the analysis job execution. If the execution has not finished yet, the result equates the result at calling time.- Specified by:
getResultin interfaceComAnalysisExecutionInfo- Returns:
- the current overall result. One of:
- NONE
- SUCCESS
- FAILED
- ERROR
- Throws:
ETComException- in case of a COM exception
-
getState
Description copied from interface:ComAnalysisExecutionInfoReturns the state of the current analysis job execution.- Specified by:
getStatein interfaceComAnalysisExecutionInfo- Returns:
- the state current analysis job execution. One of:
- IDLE
- RUNNING
- ABORTED
- FINISHED
- Throws:
ETComException- in case of a COM exception
-