@ExperimentalApi public final class PlanTriggerResultBuilder extends Object
PlanTriggerResult
sModifier and Type | Class and Description |
---|---|
class |
PlanTriggerResultBuilder.BuildTriggerResultImpl |
Modifier and Type | Method and Description |
---|---|
PlanTriggerResultBuilder |
addBuildChanges(BuildChanges buildChanges) |
PlanTriggerResultBuilder |
addErrorMessage(String message) |
PlanTriggerResultBuilder |
addErrorMessage(String message,
Exception e) |
PlanTriggerResultBuilder |
addVariable(String name,
String value) |
PlanTriggerResult |
build() |
static PlanTriggerResultBuilder |
create(Map<String,String> variables) |
BuildChanges |
getBuildChanges() |
ErrorCollection |
getErrorCollection() |
Map<String,String> |
getVariables() |
PlanTriggerResultBuilder |
removeVariable(String name) |
public static PlanTriggerResultBuilder create(Map<String,String> variables)
public PlanTriggerResultBuilder addBuildChanges(@NotNull BuildChanges buildChanges)
public PlanTriggerResultBuilder addErrorMessage(@NotNull String message, @NotNull Exception e)
public PlanTriggerResultBuilder addErrorMessage(@NotNull String message)
public PlanTriggerResultBuilder addVariable(@NotNull String name, @NotNull String value)
public PlanTriggerResultBuilder removeVariable(@NotNull String name)
public ErrorCollection getErrorCollection()
public BuildChanges getBuildChanges()
public PlanTriggerResult build()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.