public class VolumeValidationRule extends AbstractValidationRule implements java.util.Observer
Modifier and Type | Field and Description |
---|---|
protected StatusContainer |
status
Status container to hold current state of the validation process
|
Constructor and Description |
---|
VolumeValidationRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
isApplicable(java.lang.String location)
Tests whether a rule is applicable to a target location.
|
void |
update(java.util.Observable validator,
java.lang.Object object)
Generic update to validation process, either updates message or posts a
bucket
|
void |
validateVolume() |
execute, getCaption, getChildContext, getContext, getListener, getParentTarget, getRegistrar, getTarget, reportError, reportError, setCaption
protected final StatusContainer status
public boolean isApplicable(java.lang.String location)
AbstractValidationRule
isApplicable
in interface ValidationRule
isApplicable
in class AbstractValidationRule
location
- the target location@ValidationTest public void validateVolume() throws java.lang.Exception
java.lang.Exception
public void update(java.util.Observable validator, java.lang.Object object)
update
in interface java.util.Observer
validator
- validator actionobject
- object to use in updateCopyright © 2010-2018 Planetary Data System. All Rights Reserved.