Class BuildTask<R>
- java.lang.Object
-
- jetbrains.buildServer.serverSide.build.index.BuildTask<R>
-
- All Implemented Interfaces:
Comparable<BuildTask<R>>,Callable<R>,Loggable
public class BuildTask<R> extends Object implements Comparable<BuildTask<R>>, Loggable, Callable<R>
-
-
Constructor Summary
Constructors Constructor Description BuildTask(long buildId, byte priority, IndexModificationType imt, Runnable runnable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rcall()intcompareTo(BuildTask<R> o)Stringdescribe(boolean verbose)longgetBuildId()bytegetPriority()voidrun()Responsible for pre-run task optimization (if more tasks of the same build exists in the queue and manages strip locks to prevent same build task run in parallel.StringtoString()
-
-
-
Constructor Detail
-
BuildTask
public BuildTask(long buildId, byte priority, IndexModificationType imt, Runnable runnable)
-
-
Method Detail
-
getPriority
public byte getPriority()
-
getBuildId
public long getBuildId()
-
run
public void run()
Responsible for pre-run task optimization (if more tasks of the same build exists in the queue and manages strip locks to prevent same build task run in parallel.
-
compareTo
public int compareTo(@NotNull BuildTask<R> o)- Specified by:
compareToin interfaceComparable<R>
-
describe
@NotNull public String describe(boolean verbose)
-
-