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:
  • Field Details

    • DEFAULT_PROG_ID

      public static final String DEFAULT_PROG_ID
      Default COM specific programmatic identifier.
      See Also:
    • DEFAULT_TIMEOUT

      public static final int DEFAULT_TIMEOUT
      Default COM response timeout in seconds.
      See Also:
    • DEFAULT_CONNECTION_TIMEOUT

      public static final int DEFAULT_CONNECTION_TIMEOUT
      Default COM connection timeout in seconds.
      See Also:
  • Method Details

    • getInstance

      public static ETComProperty getInstance()
      Returns the current instance of ETComProperty.
      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