public class VolumeValidationRule extends AbstractValidationRule implements 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(String location)
Tests whether a rule is applicable to a target location.
|
void |
update(Observable validator,
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(String location)
AbstractValidationRule
isApplicable
in interface ValidationRule
isApplicable
in class AbstractValidationRule
location
- the target location@ValidationTest public void validateVolume() throws Exception
Exception
public void update(Observable validator, Object object)
Copyright © 2010–2017 Planetary Data System. All rights reserved.