Class ETComProperty
- java.lang.Object
-
- de.tracetronic.jenkins.plugins.ecutest.wrapper.com.ETComProperty
-
- All Implemented Interfaces:
Serializable
public final class ETComProperty extends Object implements Serializable
Serializable singleton class holding the current COM properties.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_CONNECTION_TIMEOUT
Default COM connection timeout in seconds.static String
DEFAULT_PROG_ID
Default COM specific programmatic identifier.static int
DEFAULT_TIMEOUT
Default COM response timeout in seconds.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ETComProperty
getInstance()
Returns the current instance ofETComProperty
.String
getProgId()
Gets the current COM specific programmatic identifier set by latest ecu.test startup.int
getTimeout()
Gets the current COM response timeout set by latest ecu.test startup.void
setProgId(String progId)
Sets the COM specific programmatic identifier.void
setTimeout(int timeout)
Sets the COM response timeout.
-
-
-
Field Detail
-
DEFAULT_PROG_ID
public static final String DEFAULT_PROG_ID
Default COM specific programmatic identifier.- See Also:
- Constant Field Values
-
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT
Default COM response timeout in seconds.- See Also:
- Constant Field Values
-
DEFAULT_CONNECTION_TIMEOUT
public static final int DEFAULT_CONNECTION_TIMEOUT
Default COM connection timeout in seconds.- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static ETComProperty getInstance()
Returns the current instance ofETComProperty
.- Returns:
- the singleton instance
-
getProgId
public String getProgId()
Gets the current COM specific programmatic identifier set by latest ecu.test startup.- Returns:
- the programmatic identifier
-
setProgId
public void setProgId(String progId)
Sets the COM specific programmatic identifier.- Parameters:
progId
- the progId to set
-
getTimeout
public int getTimeout()
Gets the current COM response timeout set by latest ecu.test startup.- Returns:
- the timeout
-
setTimeout
public void setTimeout(int timeout)
Sets the COM response timeout.- Parameters:
timeout
- the timeout to set
-
-