public class RestDedicatedAgentBuilder extends Object
Constructor and Description |
---|
RestDedicatedAgentBuilder() |
Modifier and Type | Method and Description |
---|---|
RestDedicatedAgent |
build() |
RestDedicatedAgentBuilder |
withCapabilitiesMatch(boolean capabilitiesMatch) |
RestDedicatedAgentBuilder |
withDeploymentProject(DeploymentProject deploymentProject) |
RestDedicatedAgentBuilder |
withEnvironment(Environment environment,
String parentName) |
RestDedicatedAgentBuilder |
withExecutable(AgentAssignment.ExecutableType executableType) |
RestDedicatedAgentBuilder |
withExecutor(AgentAssignment.ExecutorType executorType,
long executorId) |
RestDedicatedAgentBuilder |
withJob(ImmutableJob job) |
RestDedicatedAgentBuilder |
withPlan(ImmutablePlan plan) |
RestDedicatedAgentBuilder |
withProject(Project project) |
public RestDedicatedAgentBuilder withExecutor(AgentAssignment.ExecutorType executorType, long executorId)
public RestDedicatedAgentBuilder withExecutable(AgentAssignment.ExecutableType executableType)
public RestDedicatedAgentBuilder withProject(@NotNull Project project)
public RestDedicatedAgentBuilder withPlan(@NotNull ImmutablePlan plan)
public RestDedicatedAgentBuilder withJob(@NotNull ImmutableJob job)
public RestDedicatedAgentBuilder withDeploymentProject(@NotNull DeploymentProject deploymentProject)
public RestDedicatedAgentBuilder withEnvironment(@NotNull Environment environment, @NotNull String parentName)
public RestDedicatedAgentBuilder withCapabilitiesMatch(boolean capabilitiesMatch)
public RestDedicatedAgent build()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.