com.atlassian.bamboo.variable
Class VariableDefinitionFactoryImpl

java.lang.Object
  extended by com.atlassian.bamboo.variable.VariableDefinitionFactoryImpl
All Implemented Interfaces:
VariableDefinitionFactory

public class VariableDefinitionFactoryImpl
extends java.lang.Object
implements VariableDefinitionFactory


Constructor Summary
VariableDefinitionFactoryImpl()
           
 
Method Summary
 VariableDefinition createGlobalVariable(java.lang.String key, java.lang.String value)
          Create global variable definition
 VariableDefinition createPlanVariable(Plan plan, java.lang.String key, java.lang.String value)
          Create plan variable definition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableDefinitionFactoryImpl

public VariableDefinitionFactoryImpl()
Method Detail

createGlobalVariable

public VariableDefinition createGlobalVariable(@NotNull
                                               java.lang.String key,
                                               @NotNull
                                               java.lang.String value)
Description copied from interface: VariableDefinitionFactory
Create global variable definition

Specified by:
createGlobalVariable in interface VariableDefinitionFactory
Parameters:
key - variable key
value - variable value
Returns:
VariableDefinition object

createPlanVariable

public VariableDefinition createPlanVariable(@NotNull
                                             Plan plan,
                                             @NotNull
                                             java.lang.String key,
                                             @NotNull
                                             java.lang.String value)
Description copied from interface: VariableDefinitionFactory
Create plan variable definition

Specified by:
createPlanVariable in interface VariableDefinitionFactory
Parameters:
plan - plan associated with variable
key - variable key
value - variable value
Returns:
VariableDefinition object


Copyright © 2011 Atlassian. All Rights Reserved.