Class BuildStarter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.BuildStarter
-
public class BuildStarter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
BUILD_HAS_BEEN_STARTED_BY
static String
PERCENTAGE_LIMIT
static String
STARTING_BUILD_ON_AGENT
static String
WAIT_FOR_CHANGES_COLLECTING_DELAY_PROP
-
Constructor Summary
Constructors Constructor Description BuildStarter(BuildServerEx server, VcsStatusLogger vcsStatusLogger, ExecutorService threadPool, BuildAgentManagerEx agentManager, TeamCityNodes teamCityNodes, EventDispatcher<BuildServerListener> dispatcher, NodesBuildsEvents nodesBuildsEvents, VcsChangesCollectorFactory vcsChangesCollectorFactory, NodeStats nodeStats, ServerBuildDelayMetrics serverBuildDelayMetrics, AgentlessBuildExecutionManager agentlessBuildExecutionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildPatch(RunningBuildEx runningBuild, OutputStream outputStream, FullCheckoutFlag fullCheckoutFlag, boolean personalChanges, Long personalChangeId, AgentCheckoutDirRevisionInfo dirInfo)
void
startBuild(RunningBuildEx runningBuild)
CompletableFuture<Void>
startBuildAsync(RunningBuildEx runningBuild)
boolean
stopBuild()
-
-
-
Field Detail
-
STARTING_BUILD_ON_AGENT
public static final String STARTING_BUILD_ON_AGENT
- See Also:
- Constant Field Values
-
BUILD_HAS_BEEN_STARTED_BY
public static final String BUILD_HAS_BEEN_STARTED_BY
- See Also:
- Constant Field Values
-
WAIT_FOR_CHANGES_COLLECTING_DELAY_PROP
public static final String WAIT_FOR_CHANGES_COLLECTING_DELAY_PROP
- See Also:
- Constant Field Values
-
PERCENTAGE_LIMIT
@NonNls public static final String PERCENTAGE_LIMIT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BuildStarter
public BuildStarter(@NotNull BuildServerEx server, @NotNull VcsStatusLogger vcsStatusLogger, @NotNull ExecutorService threadPool, @NotNull BuildAgentManagerEx agentManager, @NotNull TeamCityNodes teamCityNodes, @NotNull EventDispatcher<BuildServerListener> dispatcher, @NotNull NodesBuildsEvents nodesBuildsEvents, @NotNull VcsChangesCollectorFactory vcsChangesCollectorFactory, @NotNull NodeStats nodeStats, @NotNull ServerBuildDelayMetrics serverBuildDelayMetrics, @NotNull AgentlessBuildExecutionManager agentlessBuildExecutionManager)
-
-
Method Detail
-
startBuildAsync
@NotNull public CompletableFuture<Void> startBuildAsync(@NotNull RunningBuildEx runningBuild)
-
startBuild
public void startBuild(@NotNull RunningBuildEx runningBuild)
-
buildPatch
public void buildPatch(@NotNull RunningBuildEx runningBuild, @NotNull OutputStream outputStream, @NotNull FullCheckoutFlag fullCheckoutFlag, boolean personalChanges, @Nullable Long personalChangeId, @NotNull AgentCheckoutDirRevisionInfo dirInfo) throws IOException
- Throws:
IOException
-
stopBuild
public boolean stopBuild()
-
-