Class Constant
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.AbstractTestObject
de.tracetronic.jenkins.plugins.ecutest.wrapper.com.Constant
- All Implemented Interfaces:
ComConstant,AutoCloseable
COM object giving access to the properties of a constant.
-
Field Summary
Fields inherited from class com.jacob.com.Dispatch
fdexNameCaseSensitive, Get, LOCALE_SYSTEM_DEFAULT, m_pDispatch, Method, Put, PutRef -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.wrapper.com.AbstractTestObject
check, checkNGMethods 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
-
Constant
public Constant(com.jacob.com.Dispatch dispatch, boolean useTimeout) Instantiates a newConstant.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
-
getName
Description copied from class:AbstractTestObjectQueries the test object name.- Specified by:
getNamein interfaceComConstant- Overrides:
getNamein classAbstractTestObject- Returns:
- the name of this test object
- Throws:
ETComException- in case of a COM exception
-
getDescription
Description copied from class:AbstractTestObjectQueries the test object description.- Specified by:
getDescriptionin interfaceComConstant- Specified by:
getDescriptionin classAbstractTestObject- Returns:
- the description of this test object
- Throws:
ETComException- in case of a COM exception
-
getValue
Description copied from interface:ComConstantQueries the constant value.- Specified by:
getValuein interfaceComConstant- Returns:
- the value of this constant
- Throws:
ETComException- in case of a COM exception
-