Class Caches
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.Caches
- All Implemented Interfaces:
ComCaches
,AutoCloseable
COM object giving access to the properties of a constant.
-
Nested Class Summary
Nested Classes -
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
Modifier and TypeMethodDescriptionProvides access to A2L cache files.Provides access to bus cache files.Gets the cache object by type.Provides access to ELF cache files.Provides access to model cache files.Provides access to service cache files.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
-
Caches
public Caches(com.jacob.com.Dispatch dispatch, boolean useTimeout) Instantiates a newCaches
.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
-
getCacheByType
Gets the cache object by type.- Parameters:
type
- the cache type- Returns:
- the cache by type
- Throws:
ETComException
- in case of a COM exception or unsuppored cache type
-
getA2lCache
Description copied from interface:ComCaches
Provides access to A2L cache files.- Specified by:
getA2lCache
in interfaceComCaches
- Returns:
- the A2l cache object
- Throws:
ETComException
- in case of a COM exception
-
getElfCache
Description copied from interface:ComCaches
Provides access to ELF cache files.- Specified by:
getElfCache
in interfaceComCaches
- Returns:
- the ELF cache object
- Throws:
ETComException
- in case of a COM exception
-
getBusCache
Description copied from interface:ComCaches
Provides access to bus cache files.- Specified by:
getBusCache
in interfaceComCaches
- Returns:
- the bus cache object
- Throws:
ETComException
- in case of a COM exception
-
getModelCache
Description copied from interface:ComCaches
Provides access to model cache files.- Specified by:
getModelCache
in interfaceComCaches
- Returns:
- the model cache object
- Throws:
ETComException
- in case of a COM exception
-
getServiceCache
Description copied from interface:ComCaches
Provides access to service cache files.- Specified by:
getServiceCache
in interfaceComCaches
- Returns:
- the service cache object
- Throws:
ETComException
- in case of a COM exception
-