|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.variable.VariableValidationServiceImpl
public class VariableValidationServiceImpl
| Constructor Summary | |
|---|---|
VariableValidationServiceImpl(com.opensymphony.xwork.TextProvider textProvider,
VariableDefinitionManager variableDefinitionManager)
|
|
| Method Summary | |
|---|---|
void |
validateIdForGlobalVariable(com.opensymphony.xwork.ValidationAware validationAware,
long variableId)
Validate if id identifies global variable |
void |
validateIdForPlanVariable(com.opensymphony.xwork.ValidationAware validationAware,
long variableId,
Plan expectedPlan)
Validate if id identifies plan variable of a given plan |
void |
validateKey(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String variableKey)
Validate String against Bamboo general rules for variable keys |
void |
validateValueForGlobalVariable(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String variableValue)
Validate String against Bamboo general rules for global variable value |
void |
validateValueForPlanVariable(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String variableValue)
Validate String against Bamboo general rules for plan variable value |
void |
validateValueForVariable(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String variableValue)
Validate String against Bamboo general rules for variable value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VariableValidationServiceImpl(com.opensymphony.xwork.TextProvider textProvider,
VariableDefinitionManager variableDefinitionManager)
| Method Detail |
|---|
public void validateIdForGlobalVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
long variableId)
VariableValidationService
validateIdForGlobalVariable in interface VariableValidationServicevalidationAware - the object to add errors to if any are foundvariableId - the actual id to validate
public void validateIdForPlanVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
long variableId,
@NotNull
Plan expectedPlan)
VariableValidationService
validateIdForPlanVariable in interface VariableValidationServicevalidationAware - the object to add errors to if any are foundvariableId - the actual id to validateexpectedPlan - the Plan we expect this variable to be associated to
public void validateKey(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
@NotNull
java.lang.String fieldName,
@Nullable
java.lang.String variableKey)
VariableValidationService
validateKey in interface VariableValidationServicevalidationAware - the object to add errors to if any are foundfieldName - the name of the field to add the errors tovariableKey - the actual key to validate
public void validateValueForGlobalVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
@NotNull
java.lang.String fieldName,
@Nullable
java.lang.String variableValue)
VariableValidationService
validateValueForGlobalVariable in interface VariableValidationServicevalidationAware - the object to add errors to if any are foundfieldName - the name of the field to add the errors tovariableValue - the actual value to validate
public void validateValueForPlanVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
@NotNull
java.lang.String fieldName,
@Nullable
java.lang.String variableValue)
VariableValidationService
validateValueForPlanVariable in interface VariableValidationServicevalidationAware - the object to add errors to if any are foundfieldName - the name of the field to add the errors tovariableValue - the actual value to validate
public void validateValueForVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
@NotNull
java.lang.String fieldName,
@Nullable
java.lang.String variableValue)
VariableValidationService
validateValueForVariable in interface VariableValidationServicevalidationAware - the object to add errors to if any are foundfieldName - the name of the field to add the errors tovariableValue - the actual value to validate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||