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
public class AnalysisExecutionInfo extends ETComDispatch implements ComAnalysisExecutionInfo
COM object providing operations to obtain informations of the currently analysis job.
-
-
Constructor Summary
Constructors Constructor Description AnalysisExecutionInfo(com.jacob.com.Dispatch dispatch, boolean useTimeout)
Instantiates a newAnalysisExecutionInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
abort()
Aborts the current analysis execution.String
getLogFolder()
Folder where trace and log files of the currently executed analysis job are stored.String
getReportDb()
Queries the path to report database of current (or most recent) analysis job execution.String
getResult()
Returns the result of the analysis job execution.String
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
-
-
-
-
Constructor Detail
-
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 Detail
-
abort
public boolean abort() throws ETComException
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
public String getReportDb() throws ETComException
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
public String getLogFolder() throws ETComException
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
public String getResult() throws ETComException
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
public String getState() throws ETComException
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
-
-