public abstract class AbstractValidationChain extends org.apache.commons.chain.impl.ChainBase implements ValidationRule
ValidationRule
,
so we can distinguish command chains that can be used for data
validation.Constructor and Description |
---|
AbstractValidationChain() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCaption()
Gets a caption describing the rule.
|
abstract boolean |
isApplicable(java.lang.String location)
Tests whether a rule is applicable to a target location.
|
void |
setCaption(java.lang.String caption)
Sets the caption for this chain.
|
public abstract boolean isApplicable(java.lang.String location)
ValidationRule
isApplicable
in interface ValidationRule
location
- the target location to validatepublic java.lang.String getCaption()
ValidationRule
getCaption
in interface ValidationRule
public void setCaption(java.lang.String caption)
caption
- the new caption stringCopyright © 2010-2018 Planetary Data System. All Rights Reserved.