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 TypeMethodDescriptionboolean
abort()
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, useTimeout
Methods 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, safeRelease
Methods 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:ComAnalysisExecutionInfo
Aborts the current analysis execution.- Specified by:
abort
in interfaceComAnalysisExecutionInfo
- Returns:
true
if 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:ComAnalysisExecutionInfo
Queries the path to report database of current (or most recent) analysis job execution.- Specified by:
getReportDb
in interfaceComAnalysisExecutionInfo
- Returns:
- the path to report database
- Throws:
ETComException
- in case of a COM exception
-
getLogFolder
Description copied from interface:ComAnalysisExecutionInfo
Folder 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:
getLogFolder
in interfaceComAnalysisExecutionInfo
- Returns:
- the log folder
- Throws:
ETComException
- in case of a COM exception
-
getResult
Description copied from interface:ComAnalysisExecutionInfo
Returns the result of the analysis job execution. If the execution has not finished yet, the result equates the result at calling time.- Specified by:
getResult
in 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:ComAnalysisExecutionInfo
Returns the state of the current analysis job execution.- Specified by:
getState
in interfaceComAnalysisExecutionInfo
- Returns:
- the state current analysis job execution. One of:
- IDLE
- RUNNING
- ABORTED
- FINISHED
- Throws:
ETComException
- in case of a COM exception
-