|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface PlanValidationServiceXWork1
This interface groups methods using old XWork1 interface. You can avoid using them by explicitely casting to ValidationAware from xwork2
Method Summary | |
---|---|
void |
validateDescription(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String description)
Deprecated. |
void |
validateKey(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String errorPrefix,
java.lang.String key)
Deprecated. |
void |
validateName(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String errorPrefix,
java.lang.String name)
Deprecated. |
void |
validateNewChainForExistingProject(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String existingProjectKey,
java.lang.String chainName)
Deprecated. |
void |
validateNewChainForExistingProject(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String existingProjectKey,
java.lang.String chainKey,
java.lang.String chainName)
Deprecated. |
void |
validateNewJobForExistingChain(com.opensymphony.xwork.ValidationAware validationAware,
Chain existingChain,
java.lang.String buildKey,
java.lang.String buildName)
Deprecated. |
void |
validateNewPlanBranchForMaster(com.opensymphony.xwork.ValidationAware validationAware,
ImmutableChain masterChain,
java.lang.String branchName)
Deprecated. |
void |
validateNewPlanDetails(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String buildKey,
java.lang.String buildName)
Deprecated. |
void |
validateNewProjectDetails(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String projectName,
java.lang.String projectKey)
Deprecated. |
void |
validateNewStageForChain(com.opensymphony.xwork.ValidationAware validationAware,
Chain chain,
java.lang.String stageName)
Deprecated. |
void |
validatePlanToCloneExists(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String buildKeyToClone)
Deprecated. |
void |
validateStageExistsForChain(com.opensymphony.xwork.ValidationAware validationAware,
Chain chain,
java.lang.String stageName)
Deprecated. |
Method Detail |
---|
@Deprecated void validateKey(@NotNull com.opensymphony.xwork.ValidationAware validationAware, java.lang.String fieldName, java.lang.String errorPrefix, java.lang.String key)
validationAware
- - the object to add errors to if any are foundfieldName
- - the name of the field to add the errors toerrorPrefix
- - the prefix to put in front of the standardised error keys. (e.g. "plan", "chain")key
- - the actual string to validate@Deprecated void validateName(@NotNull com.opensymphony.xwork.ValidationAware validationAware, java.lang.String fieldName, java.lang.String errorPrefix, java.lang.String name)
validationAware
- - the object to add errors to if any are foundfieldName
- - the name of the field to add the errors toerrorPrefix
- - the prefix to put in front of the standardised error keys. (e.g. "plan", "chain")name
- - the actual string to validate@Deprecated void validateDescription(@NotNull com.opensymphony.xwork.ValidationAware validationAware, java.lang.String fieldName, java.lang.String description)
validationAware
- - the object to add errors to if any are foundfieldName
- - the name of the field to add the errors todescription
- - the actual text to validate@Deprecated void validatePlanToCloneExists(@NotNull com.opensymphony.xwork.ValidationAware validationAware, @Nullable java.lang.String buildKeyToClone)
validationAware
- - object to add errors to if any are foundbuildKeyToClone
- - the key of the plan to clone@Deprecated void validateNewPlanDetails(@NotNull com.opensymphony.xwork.ValidationAware validationAware, @Nullable java.lang.String buildKey, @Nullable java.lang.String buildName)
validationAware
- - object to add errors to if any are foundbuildKey
- - the key for the planbuildName
- - the name for the plan@Deprecated void validateNewJobForExistingChain(@NotNull com.opensymphony.xwork.ValidationAware validationAware, @NotNull Chain existingChain, @NotNull java.lang.String buildKey, @Nullable java.lang.String buildName)
validationAware
- - object to add errors to if any are foundexistingChain
- - the chain the new job will be added tobuildKey
- - the key for the jobbuildName
- - the name for the job.@Deprecated void validateNewChainForExistingProject(@NotNull com.opensymphony.xwork.ValidationAware validationAware, java.lang.String existingProjectKey, java.lang.String chainKey, java.lang.String chainName)
validationAware
- - object to add errors to if any are foundexistingProjectKey
- - the key of an existing projectchainKey
- - the key for the new chainchainName
- - the name of the new chain@Deprecated void validateNewChainForExistingProject(@NotNull com.opensymphony.xwork.ValidationAware validationAware, @NotNull java.lang.String existingProjectKey, @NotNull java.lang.String chainName)
validationAware
- - object to add errors to if any are foundexistingProjectKey
- - the key of an existing projectchainName
- - the name of the new chain@Deprecated void validateNewPlanBranchForMaster(@NotNull com.opensymphony.xwork.ValidationAware validationAware, @NotNull ImmutableChain masterChain, @NotNull java.lang.String branchName)
validationAware
- object to add errors to if any are foundmasterChain
- the master chainbranchName
- the name of the new chain@Deprecated void validateNewProjectDetails(@NotNull com.opensymphony.xwork.ValidationAware validationAware, @Nullable java.lang.String projectName, @Nullable java.lang.String projectKey)
validationAware
- - object to add errors to if any are foundprojectName
- - name of the project to validateprojectKey
- - key of the project to validate@Deprecated void validateNewStageForChain(com.opensymphony.xwork.ValidationAware validationAware, Chain chain, java.lang.String stageName)
validationAware
- - to add any errors tochain
- - the chain the stage will be added tostageName
- - the stage to be added@Deprecated void validateStageExistsForChain(com.opensymphony.xwork.ValidationAware validationAware, Chain chain, java.lang.String stageName)
validationAware
- - to add the errors tochain
- - the chain the stage should exist instageName
- - the stage to check for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |