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 |
---|---|
String |
getCaption()
Gets a caption describing the rule.
|
abstract boolean |
isApplicable(String location)
Tests whether a rule is applicable to a target location.
|
void |
setCaption(String caption)
Sets the caption for this chain.
|
public abstract boolean isApplicable(String location)
ValidationRule
isApplicable
in interface ValidationRule
location
- the target location to validatepublic String getCaption()
ValidationRule
getCaption
in interface ValidationRule
public void setCaption(String caption)
caption
- the new caption stringCopyright © 2010–2017 Planetary Data System. All rights reserved.