@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(@NotNull BuildChanges buildChanges) |
PlanTriggerResultBuilder |
addErrorMessage(@NotNull String message) |
PlanTriggerResultBuilder |
addErrorMessage(@NotNull String message,
@NotNull Exception e) |
PlanTriggerResultBuilder |
addVariable(@NotNull String name,
@NotNull String value) |
PlanTriggerResult |
build() |
static PlanTriggerResultBuilder |
create(Map<String,String> variables) |
BuildChanges |
getBuildChanges() |
ErrorCollection |
getErrorCollection() |
Map<String,String> |
getVariables() |
PlanTriggerResultBuilder |
removeVariable(@NotNull String name) |
public static PlanTriggerResultBuilder create(Map<String,String> variables)
public PlanTriggerResultBuilder addBuildChanges(@NotNull @NotNull BuildChanges buildChanges)
public PlanTriggerResultBuilder addErrorMessage(@NotNull @NotNull String message, @NotNull @NotNull Exception e)
public PlanTriggerResultBuilder addErrorMessage(@NotNull @NotNull String message)
public PlanTriggerResultBuilder addVariable(@NotNull @NotNull String name, @NotNull @NotNull String value)
public PlanTriggerResultBuilder removeVariable(@NotNull @NotNull String name)
public ErrorCollection getErrorCollection()
public BuildChanges getBuildChanges()
public PlanTriggerResult build()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.