Class RssDetectionWork
- java.lang.Object
-
- com.atlassian.bamboo.configuration.external.detection.RssDetectionWork
-
public class RssDetectionWork extends Object
An internal representation of a single work unit for the Bamboo Specs detection thread pool.
-
-
Constructor Summary
Constructors Constructor Description RssDetectionWork(long repositoryId, @NotNull VcsBranch vcsBranch, boolean forced, @NotNull SpecsConsumer specsConsumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enforce()
@Nullable Exception
getExecutionException()
long
getRepositoryId()
@NotNull SpecsConsumer
getSpecsConsumer()
@NotNull VcsBranch
getVcsBranch()
boolean
isCompleted()
boolean
isForced()
boolean
isSpecsExecuted()
void
setCompleted(boolean completed)
void
setExecutionException(@Nullable Exception executionException)
void
setSpecsExecuted(boolean specsExecuted)
String
toString()
-
-
-
Constructor Detail
-
RssDetectionWork
public RssDetectionWork(long repositoryId, @NotNull @NotNull VcsBranch vcsBranch, boolean forced, @NotNull @NotNull SpecsConsumer specsConsumer)
-
-
Method Detail
-
getRepositoryId
public long getRepositoryId()
-
getVcsBranch
@NotNull public @NotNull VcsBranch getVcsBranch()
-
getSpecsConsumer
@NotNull public @NotNull SpecsConsumer getSpecsConsumer()
-
isForced
public boolean isForced()
-
isCompleted
public boolean isCompleted()
-
setCompleted
public void setCompleted(boolean completed)
-
isSpecsExecuted
public boolean isSpecsExecuted()
-
setSpecsExecuted
public void setSpecsExecuted(boolean specsExecuted)
-
getExecutionException
@Nullable public @Nullable Exception getExecutionException()
-
setExecutionException
public void setExecutionException(@Nullable @Nullable Exception executionException)
-
enforce
public void enforce()
-
-