@Deprecated public interface PlanValidationServiceXWork1
Modifier and Type | Method and Description |
---|---|
void |
validateDescription(com.opensymphony.xwork.ValidationAware validationAware,
String fieldName,
String description)
Deprecated.
since 5.1
|
void |
validateKey(com.opensymphony.xwork.ValidationAware validationAware,
String fieldName,
String errorPrefix,
String key)
Deprecated.
since 5.1
|
void |
validateName(com.opensymphony.xwork.ValidationAware validationAware,
String fieldName,
String errorPrefix,
String name)
Deprecated.
since 5.1
|
void |
validateNewChainForExistingProject(com.opensymphony.xwork.ValidationAware validationAware,
String existingProjectKey,
String chainName)
Deprecated.
since 5.1
|
void |
validateNewChainForExistingProject(com.opensymphony.xwork.ValidationAware validationAware,
String existingProjectKey,
String chainKey,
String chainName)
Deprecated.
since 5.1
|
void |
validateNewJobForExistingChain(com.opensymphony.xwork.ValidationAware validationAware,
Chain existingChain,
String buildKey,
String buildName)
Deprecated.
since 5.1
|
void |
validateNewPlanBranchForMaster(com.opensymphony.xwork.ValidationAware validationAware,
ImmutableChain masterChain,
String branchName)
Deprecated.
since 5.1
|
void |
validateNewPlanDetails(com.opensymphony.xwork.ValidationAware validationAware,
String buildKey,
String buildName)
Deprecated.
since 5.1
|
void |
validateNewProjectDetails(com.opensymphony.xwork.ValidationAware validationAware,
String projectName,
String projectKey)
Deprecated.
since 5.1
|
void |
validateNewStageForChain(com.opensymphony.xwork.ValidationAware validationAware,
Chain chain,
String stageName)
Deprecated.
since 5.1
|
void |
validatePlanToCloneExists(com.opensymphony.xwork.ValidationAware validationAware,
String buildKeyToClone)
Deprecated.
since 5.1
|
void |
validateStageExistsForChain(com.opensymphony.xwork.ValidationAware validationAware,
Chain chain,
String stageName)
Deprecated.
since 5.1
|
@Deprecated void validateKey(@NotNull com.opensymphony.xwork.ValidationAware validationAware, String fieldName, String errorPrefix, 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, String fieldName, String errorPrefix, 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, String fieldName, 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 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 String buildKey, @Nullable 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 String buildKey, @Nullable 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, String existingProjectKey, String chainKey, 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 String existingProjectKey, @NotNull 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 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 String projectName, @Nullable 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, 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, String stageName)
validationAware
- - to add the errors tochain
- - the chain the stage should exist instageName
- - the stage to check forCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.