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
public class Caches extends ETComDispatch implements ComCaches
COM object giving access to the properties of a constant.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Caches.CacheType
Available file caches.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComCache
getA2lCache()
Provides access to A2L cache files.ComCache
getBusCache()
Provides access to bus cache files.Cache
getCacheByType(Caches.CacheType type)
Gets the cache object by type.ComCache
getElfCache()
Provides access to ELF cache files.ComCache
getModelCache()
Provides access to model cache files.ComCache
getServiceCache()
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
-
-
-
-
Constructor Detail
-
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 Detail
-
getCacheByType
public Cache getCacheByType(Caches.CacheType type) throws ETComException
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
public ComCache getA2lCache() throws ETComException
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
public ComCache getElfCache() throws ETComException
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
public ComCache getBusCache() throws ETComException
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
public ComCache getModelCache() throws ETComException
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
public ComCache getServiceCache() throws ETComException
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
-
-