Package gov.nasa.pds.tools.validate.rule
Class DummyValidationChain
- java.lang.Object
-
- org.apache.commons.chain.impl.ChainBase
-
- gov.nasa.pds.tools.validate.rule.AbstractValidationChain
-
- gov.nasa.pds.tools.validate.rule.DummyValidationChain
-
- All Implemented Interfaces:
ValidationRule
,org.apache.commons.chain.Chain
,org.apache.commons.chain.Command
public class DummyValidationChain extends AbstractValidationChain
Implements an empty validation chain that is never applicable.
-
-
Constructor Summary
Constructors Constructor Description DummyValidationChain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isApplicable(String location)
Tests whether a rule is applicable to a target location.-
Methods inherited from class gov.nasa.pds.tools.validate.rule.AbstractValidationChain
getCaption, setCaption
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(String location)
Description copied from interface:ValidationRule
Tests whether a rule is applicable to a target location.- Specified by:
isApplicable
in interfaceValidationRule
- Specified by:
isApplicable
in classAbstractValidationChain
- Parameters:
location
- the target location to validate- Returns:
- true, if the rule is applicable to the target, false otherwise
-
-