public static class ExecutableAgentsHelper.ExecutorQuery extends Object
public ExecutableAgentsHelper.ExecutorQuery withDisabledIncluded()
public ExecutableAgentsHelper.ExecutorQuery withDisabledExcluded()
public ExecutableAgentsHelper.ExecutorQuery withOfflineIncluded()
public ExecutableAgentsHelper.ExecutorQuery withOfflineExcluded()
@Deprecated public static ExecutableAgentsHelper.ExecutorQuery newQuery(@NotNull MinimalRequirementSet requirements)
newQuery(MinimalRequirementSet, AgentAssignmentService.AgentAssignmentExecutable)
or newQueryWithoutAssignments(MinimalRequirementSet)
instead.public static ExecutableAgentsHelper.ExecutorQuery newQueryWithoutAssignments(@NotNull MinimalRequirementSet requirements)
requirements
- public static ExecutableAgentsHelper.ExecutorQuery newQuery(@NotNull MinimalRequirementSet requirements, @NotNull AgentAssignmentService.AgentAssignmentExecutable executable)
@NotNull public MinimalRequirementSet getRequirements()
public ExecutableAgentsHelper.ExecutorQuery withAssignmentsFor(Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables)
public ExecutableAgentsHelper.ExecutorQuery withContext(CommonContext context)
public boolean areDisabledIncluded()
public boolean areOfflineIncluded()
@Nullable public Iterable<AgentAssignmentService.AgentAssignmentExecutable> getAssignedExecutables()
@Nullable public CommonContext getContext()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.