com.atlassian.bamboo.plan.trigger
Class PlanTriggerResultBuilder
java.lang.Object
com.atlassian.bamboo.plan.trigger.PlanTriggerResultBuilder
public final class PlanTriggerResultBuilder
- extends java.lang.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(java.util.Map<java.lang.String,java.lang.String> variables)
addBuildChanges
public PlanTriggerResultBuilder addBuildChanges(@NotNull
BuildChanges buildChanges)
addErrorMessage
public PlanTriggerResultBuilder addErrorMessage(@NotNull
java.lang.String message,
@NotNull
java.lang.Exception e)
addErrorMessage
public PlanTriggerResultBuilder addErrorMessage(@NotNull
java.lang.String message)
addVariable
public PlanTriggerResultBuilder addVariable(@NotNull
java.lang.String name,
@NotNull
java.lang.String value)
removeVariable
public PlanTriggerResultBuilder removeVariable(@NotNull
java.lang.String name)
getVariables
public java.util.Map<java.lang.String,java.lang.String> getVariables()
getErrorCollection
public ErrorCollection getErrorCollection()
getBuildChanges
public BuildChanges getBuildChanges()
build
public PlanTriggerResult build()
Copyright © 2012 Atlassian. All Rights Reserved.