com.atlassian.bamboo.plan.trigger
Class PlanTriggerResultBuilder
java.lang.Object
com.atlassian.bamboo.plan.trigger.PlanTriggerResultBuilder
@ExperimentalApi
public final class PlanTriggerResultBuilder
- extends Object
Builder for PlanTriggerResult
s
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static PlanTriggerResultBuilder create(Map<String,String> variables)
addBuildChanges
public PlanTriggerResultBuilder addBuildChanges(@NotNull
BuildChanges buildChanges)
addErrorMessage
public PlanTriggerResultBuilder addErrorMessage(@NotNull
String message,
@NotNull
Exception e)
addErrorMessage
public PlanTriggerResultBuilder addErrorMessage(@NotNull
String message)
addVariable
public PlanTriggerResultBuilder addVariable(@NotNull
String name,
@NotNull
String value)
removeVariable
public PlanTriggerResultBuilder removeVariable(@NotNull
String name)
getVariables
public Map<String,String> getVariables()
getErrorCollection
public ErrorCollection getErrorCollection()
getBuildChanges
public BuildChanges getBuildChanges()
build
public PlanTriggerResult build()
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.