Class ETComProperty
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.wrapper.com.ETComProperty
- All Implemented Interfaces:
Serializable
Serializable singleton class holding the current COM properties.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Default COM connection timeout in seconds.static final String
Default COM specific programmatic identifier.static final int
Default COM response timeout in seconds. -
Method Summary
Modifier and TypeMethodDescriptionstatic ETComProperty
Returns the current instance ofETComProperty
.Gets the current COM specific programmatic identifier set by latest ecu.test startup.int
Gets the current COM response timeout set by latest ecu.test startup.void
Sets the COM specific programmatic identifier.void
setTimeout
(int timeout) Sets the COM response timeout.
-
Field Details
-
DEFAULT_PROG_ID
Default COM specific programmatic identifier.- See Also:
-
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUTDefault COM response timeout in seconds.- See Also:
-
DEFAULT_CONNECTION_TIMEOUT
public static final int DEFAULT_CONNECTION_TIMEOUTDefault COM connection timeout in seconds.- See Also:
-
-
Method Details
-
getInstance
Returns the current instance ofETComProperty
.- Returns:
- the singleton instance
-
getProgId
Gets the current COM specific programmatic identifier set by latest ecu.test startup.- Returns:
- the programmatic identifier
-
setProgId
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
-