Package org.jvnet.hudson.test.fixtures
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classInboundAgentFixture.Options.Builder<B extends InboundAgentFixture.Options.Builder,O extends InboundAgentFixture.Options> A builder ofInboundAgentFixture.Options. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomputeJavaOptions(List<String> defaultJavaOptions) Compute java options required to connect to the underlying instance.getCert()getLabel()getName()booleanbooleanisStart()booleanstatic <T extends InboundAgentFixture.Options.Builder>
TvoidvoidsetJavaOptions(List<String> javaOptions) voidvoidvoidsetNoCertificateCheck(boolean noCertificateCheck) voidsetStart(boolean start) voidsetTrustStorePassword(String trustStorePassword) voidsetTrustStorePath(String trustStorePath) voidvoidsetWebSocket(boolean webSocket)
-
Field Details
-
name
-
webSocket
protected boolean webSocket -
tunnel
-
javaOptions
-
start
protected boolean start -
loggers
-
label
-
prefixedOutputStreamBuilder
-
trustStorePath
-
trustStorePassword
-
cert
-
noCertificateCheck
protected boolean noCertificateCheck
-
-
Constructor Details
-
Options
protected Options()
-
-
Method Details
-
getName
-
setName
-
isWebSocket
public boolean isWebSocket() -
setWebSocket
public void setWebSocket(boolean webSocket) -
getTunnel
-
setTunnel
-
getJavaOptions
-
setJavaOptions
-
isStart
public boolean isStart() -
setStart
public void setStart(boolean start) -
getLoggers
-
getLabel
-
setLabel
-
getPrefixedOutputStreamBuilder
-
getTrustStorePath
-
setTrustStorePath
-
getTrustStorePassword
-
setTrustStorePassword
-
getCert
-
setCert
-
isNoCertificateCheck
public boolean isNoCertificateCheck() -
setNoCertificateCheck
public void setNoCertificateCheck(boolean noCertificateCheck) -
computeJavaOptions
Compute java options required to connect to the underlying instance. IfcertornoCertificateCheckis set, trustStore options are not computed. This prevents Remoting from implicitly bypassing failures related to-certor-noCertificateCheck.- Parameters:
defaultJavaOptions- The instance java options
-
newBuilder
-