Class InboundAgentFixture.Options<O extends InboundAgentFixture.Options>

java.lang.Object
org.jvnet.hudson.test.fixtures.InboundAgentFixture.Options<O>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InboundAgentExtension.Options, InboundAgentRule.Options
Enclosing class:
InboundAgentFixture

public static class InboundAgentFixture.Options<O extends InboundAgentFixture.Options> extends Object implements Serializable
The options used to (re)start an inbound agent.
See Also:
  • Field Details

    • name

      @CheckForNull protected String name
    • webSocket

      protected boolean webSocket
    • tunnel

      @CheckForNull protected String tunnel
    • javaOptions

      protected List<String> javaOptions
    • start

      protected boolean start
    • loggers

      protected Map<String,Level> loggers
    • label

      protected String label
    • prefixedOutputStreamBuilder

      protected PrefixedOutputStream.Builder prefixedOutputStreamBuilder
    • trustStorePath

      protected String trustStorePath
    • trustStorePassword

      protected String trustStorePassword
    • cert

      protected String cert
    • noCertificateCheck

      protected boolean noCertificateCheck
  • Constructor Details

    • Options

      protected Options()
  • Method Details

    • getName

      @CheckForNull public String getName()
    • setName

      public void setName(@CheckForNull String name)
    • isWebSocket

      public boolean isWebSocket()
    • setWebSocket

      public void setWebSocket(boolean webSocket)
    • getTunnel

      @CheckForNull public String getTunnel()
    • setTunnel

      public void setTunnel(@CheckForNull String tunnel)
    • getJavaOptions

      public List<String> getJavaOptions()
    • setJavaOptions

      public void setJavaOptions(List<String> javaOptions)
    • isStart

      public boolean isStart()
    • setStart

      public void setStart(boolean start)
    • getLoggers

      public Map<String,Level> getLoggers()
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • getPrefixedOutputStreamBuilder

      public PrefixedOutputStream.Builder getPrefixedOutputStreamBuilder()
    • getTrustStorePath

      public String getTrustStorePath()
    • setTrustStorePath

      public void setTrustStorePath(String trustStorePath)
    • getTrustStorePassword

      public String getTrustStorePassword()
    • setTrustStorePassword

      public void setTrustStorePassword(String trustStorePassword)
    • getCert

      public String getCert()
    • setCert

      public void setCert(String cert)
    • isNoCertificateCheck

      public boolean isNoCertificateCheck()
    • setNoCertificateCheck

      public void setNoCertificateCheck(boolean noCertificateCheck)
    • computeJavaOptions

      public void computeJavaOptions(List<String> defaultJavaOptions)
      Compute java options required to connect to the underlying instance. If cert or noCertificateCheck is set, trustStore options are not computed. This prevents Remoting from implicitly bypassing failures related to -cert or -noCertificateCheck.
      Parameters:
      defaultJavaOptions - The instance java options
    • newBuilder

      public static <T extends InboundAgentFixture.Options.Builder> T newBuilder()