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

public static class InboundAgentFixture.AgentArguments extends Object implements Serializable
Argument for an Agent.
See Also:
  • 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 jar
      url - the controller root URL
      name - the agent name
      secret - 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

      @NonNull public File agentJar()
    • url

      @NonNull public String url()
    • name

      @NonNull public String name()
    • secret

      @NonNull public String secret()
    • numberOfNodes

      public int numberOfNodes()
    • commandLineArgs

      @NonNull public List<String> commandLineArgs()