Class RestDedicatedAgentBuilder
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.model.search.RestDedicatedAgentBuilder
-
public class RestDedicatedAgentBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description RestDedicatedAgentBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestDedicatedAgent
build()
RestDedicatedAgentBuilder
withCapabilitiesMatch(boolean capabilitiesMatch)
RestDedicatedAgentBuilder
withDeploymentProject(@NotNull DeploymentProject deploymentProject)
RestDedicatedAgentBuilder
withEnvironment(@NotNull Environment environment, @NotNull String parentName)
RestDedicatedAgentBuilder
withExecutable(AgentAssignment.ExecutableType executableType)
RestDedicatedAgentBuilder
withExecutor(AgentAssignment.ExecutorType executorType, long executorId)
RestDedicatedAgentBuilder
withJob(@NotNull ImmutableJob job)
RestDedicatedAgentBuilder
withPlan(@NotNull ImmutablePlan plan)
RestDedicatedAgentBuilder
withProject(@NotNull Project project)
-
-
-
Method Detail
-
withExecutor
public RestDedicatedAgentBuilder withExecutor(AgentAssignment.ExecutorType executorType, long executorId)
-
withExecutable
public RestDedicatedAgentBuilder withExecutable(AgentAssignment.ExecutableType executableType)
-
withProject
public RestDedicatedAgentBuilder withProject(@NotNull @NotNull Project project)
-
withPlan
public RestDedicatedAgentBuilder withPlan(@NotNull @NotNull ImmutablePlan plan)
-
withJob
public RestDedicatedAgentBuilder withJob(@NotNull @NotNull ImmutableJob job)
-
withDeploymentProject
public RestDedicatedAgentBuilder withDeploymentProject(@NotNull @NotNull DeploymentProject deploymentProject)
-
withEnvironment
public RestDedicatedAgentBuilder withEnvironment(@NotNull @NotNull Environment environment, @NotNull @NotNull String parentName)
-
withCapabilitiesMatch
public RestDedicatedAgentBuilder withCapabilitiesMatch(boolean capabilitiesMatch)
-
build
public RestDedicatedAgent build()
-
-