Package org.jvnet.hudson.test.fixtures
Class InboundAgentFixture.AgentArguments
java.lang.Object
org.jvnet.hudson.test.fixtures.InboundAgentFixture.AgentArguments
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InboundAgentExtension.AgentArguments,InboundAgentRule.AgentArguments
- Enclosing class:
InboundAgentFixture
Argument for an Agent.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AgentArguments
public AgentArguments(@NonNull File agentJar, @NonNull String url, @NonNull String name, @NonNull String secret, int numberOfNodes, @NonNull List<String> commandLineArgs) - Parameters:
agentJar- A reference to the agent jarurl- the controller root URLname- the agent namesecret- The secret the agent should use to connect.numberOfNodes- The number of nodes in the Jenkins instance where the agent is running.commandLineArgs- Additional command line arguments to pass to the agent.
-
-
Method Details
-
agentJar
-
url
-
name
-
secret
-
numberOfNodes
public int numberOfNodes() -
commandLineArgs
-