|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VariableValidationService
| Method Summary | |
|---|---|
void |
validateIdForDeploymentEnvironmentVariable(com.atlassian.struts.ValidationAware validationAware,
long variableId,
long environmentId)
Validate if id identifies an existing variable associated with Deployment Environment * |
void |
validateIdForDeploymentEnvironmentVariable(com.opensymphony.xwork.ValidationAware validationAware,
long variableId,
long environmentId)
Deprecated. since 5.1 use the method with $ ValidationAware |
void |
validateIdForGlobalVariable(com.atlassian.struts.ValidationAware validationAware,
long variableId)
Validate if id identifies global variable |
void |
validateIdForGlobalVariable(com.opensymphony.xwork.ValidationAware validationAware,
long variableId)
Deprecated. since 5.1 use the method with $ ValidationAware |
void |
validateIdForPlanVariable(com.atlassian.struts.ValidationAware validationAware,
long variableId,
ImmutablePlan expectedPlan)
Validate if id identifies plan variable of a given plan |
void |
validateIdForPlanVariable(com.opensymphony.xwork.ValidationAware validationAware,
long variableId,
ImmutablePlan expectedPlan)
Deprecated. since 5.1 use the method with $ ValidationAware |
void |
validateKey(com.atlassian.struts.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String variableKey)
Validate String against Bamboo general rules for variable keys |
void |
validateKey(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String variableKey)
Deprecated. since 5.1 use the method with $ ValidationAware |
void |
validateValueForVariable(com.atlassian.struts.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String variableValue)
Validate String against Bamboo general rules for variable value |
void |
validateValueForVariable(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String variableValue)
Deprecated. since 5.1 use the method with $ ValidationAware |
| Method Detail |
|---|
void validateIdForGlobalVariable(@NotNull
com.atlassian.struts.ValidationAware validationAware,
long variableId)
validationAware - the object to add errors to if any are foundvariableId - the actual id to validate
void validateIdForPlanVariable(@NotNull
com.atlassian.struts.ValidationAware validationAware,
long variableId,
@NotNull
ImmutablePlan expectedPlan)
validationAware - 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
void validateIdForDeploymentEnvironmentVariable(@NotNull
com.atlassian.struts.ValidationAware validationAware,
long variableId,
long environmentId)
validationAware - the object to add errors to if any are foundvariableId - the actual id to validateenvironmentId - the id of an Environment we expect this variable to be associated to
void validateKey(@NotNull
com.atlassian.struts.ValidationAware validationAware,
@NotNull
java.lang.String fieldName,
@Nullable
java.lang.String variableKey)
validationAware - 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
void validateValueForVariable(@NotNull
com.atlassian.struts.ValidationAware validationAware,
@NotNull
java.lang.String fieldName,
@Nullable
java.lang.String variableValue)
validationAware - 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
@Deprecated
void validateIdForGlobalVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
long variableId)
ValidationAware
@Deprecated
void validateIdForPlanVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
long variableId,
@NotNull
ImmutablePlan expectedPlan)
ValidationAware
@Deprecated
void validateIdForDeploymentEnvironmentVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
long variableId,
long environmentId)
ValidationAware
@Deprecated
void validateKey(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
@NotNull
java.lang.String fieldName,
@Nullable
java.lang.String variableKey)
ValidationAware
@Deprecated
void validateValueForVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
@NotNull
java.lang.String fieldName,
@Nullable
java.lang.String variableValue)
ValidationAware
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||