@ExportedBean(defaultVisibility=100) public class Task extends AbstractItem
VISIBILITY
Constructor and Description |
---|
Task(hudson.model.AbstractProject project,
String id,
String name,
Status status,
String link,
ManualStep manual,
List<String> downstreamTasks,
boolean initial,
String description) |
Task(Task task,
String taskName,
String buildId,
Status status,
String link,
ManualStep manual,
List<TestResult> testResults,
List<StaticAnalysisResult> staticAnalysisResults,
String description) |
Modifier and Type | Method and Description |
---|---|
Task |
getAggregatedTask(hudson.model.AbstractBuild versionBuild,
hudson.model.ItemGroup context) |
String |
getBuildId() |
String |
getDescription() |
List<String> |
getDownstreamTasks() |
String |
getId() |
Task |
getLatestTask(hudson.model.ItemGroup context,
hudson.model.AbstractBuild firstBuild) |
String |
getLink() |
ManualStep |
getManualStep() |
static Task |
getPrototypeTask(hudson.model.AbstractProject project,
boolean initial) |
List<StaticAnalysisResult> |
getStaticAnalysisResults() |
Status |
getStatus() |
List<TestResult> |
getTestResults() |
boolean |
isInitial() |
boolean |
isManual() |
boolean |
isRebuildable() |
boolean |
isRequiringInput() |
String |
toString() |
getName
public Task(hudson.model.AbstractProject project, String id, String name, Status status, String link, ManualStep manual, List<String> downstreamTasks, boolean initial, String description)
public Task(Task task, String taskName, String buildId, Status status, String link, ManualStep manual, List<TestResult> testResults, List<StaticAnalysisResult> staticAnalysisResults, String description)
@Exported public ManualStep getManualStep()
@Exported public boolean isManual()
@Exported public String getBuildId()
@Exported public String getId()
@Exported public String getLink()
@Exported public List<TestResult> getTestResults()
@Exported public List<StaticAnalysisResult> getStaticAnalysisResults()
@Exported public Status getStatus()
@Exported public String getDescription()
@Exported public boolean isRebuildable()
@Exported public boolean isRequiringInput()
public boolean isInitial()
public static Task getPrototypeTask(hudson.model.AbstractProject project, boolean initial)
public Task getLatestTask(hudson.model.ItemGroup context, hudson.model.AbstractBuild firstBuild)
public Task getAggregatedTask(hudson.model.AbstractBuild versionBuild, hudson.model.ItemGroup context)
Copyright © 2016–2020 Diabol AB. All rights reserved.