Class Project
- 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.Project
-
- All Implemented Interfaces:
ComProject
,AutoCloseable
public class Project extends AbstractTestObject implements ComProject
COM object giving access to the properties of an opened project.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Queries the test object description.String
getName()
Queries the test object name.String
getPackages()
Queries the list of packages used in this project.-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.wrapper.com.AbstractTestObject
check, checkNG
-
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
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.tracetronic.jenkins.plugins.ecutest.wrapper.com.api.ComProject
check, checkNG
-
-
-
-
Constructor Detail
-
Project
public Project(com.jacob.com.Dispatch dispatch, boolean useTimeout)
Instantiates a newProject
.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
-
getName
public String getName() throws ETComException
Description copied from class:AbstractTestObject
Queries the test object name.- Specified by:
getName
in interfaceComProject
- Overrides:
getName
in classAbstractTestObject
- Returns:
- the name of this test object
- Throws:
ETComException
- in case of a COM exception
-
getDescription
public String getDescription()
Description copied from class:AbstractTestObject
Queries the test object description.- Specified by:
getDescription
in classAbstractTestObject
- Returns:
- the description of this test object
-
getPackages
public String getPackages() throws ETComException
Description copied from interface:ComProject
Queries the list of packages used in this project.- Specified by:
getPackages
in interfaceComProject
- Returns:
- the list of referenced packages
- Throws:
ETComException
- in case of a COM exception
-
-