|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.nrao.sss.validation.AbstractValidator<ScanLoop> edu.nrao.sss.model.project.scan.ScanLoopValidator
public class ScanLoopValidator
A validator of scan loops
.
Validations Performed for All Purposes
Version Info:
$Revision: 1709 $ |
$Date: 2008-11-14 11:22:37 -0700 (Fri, 14 Nov 2008) $ |
$Author: dharland $ |
Field Summary |
---|
Fields inherited from class edu.nrao.sss.validation.AbstractValidator |
---|
failFast, failures, manager, purpose, target |
Constructor Summary | |
---|---|
ScanLoopValidator()
Creates a new instance. |
Method Summary | |
---|---|
Validator |
getScanLoopElementValidator(ScanLoopElement element)
Returns a validator for scan loop elements. |
protected List<Validation<ScanLoop>> |
makeValidationList(ValidationPurpose purpose)
|
void |
setScanValidator(edu.nrao.sss.model.project.scan.ScanValidator<? extends Scan> scanValidator)
|
void |
setSkipOutermostLoop(boolean skip)
Tells this validator whether or not it should skip the validation of the target loop. |
protected void |
validate()
|
Methods inherited from class edu.nrao.sss.validation.AbstractValidator |
---|
getName, getPurpose, getTarget, setManager, stopTestingAfterFirstFailure, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScanLoopValidator()
Method Detail |
---|
public void setScanValidator(edu.nrao.sss.model.project.scan.ScanValidator<? extends Scan> scanValidator)
public void setSkipOutermostLoop(boolean skip)
This validator is originally configured so that it will not skip any validation.
It is expected that validators of scheduling blocks will use this method with a parameter of true.
skip
- true if this validator should validate the contents
of the target loop, but not the target loop itself.protected List<Validation<ScanLoop>> makeValidationList(ValidationPurpose purpose)
makeValidationList
in class AbstractValidator<ScanLoop>
protected void validate()
validate
in class AbstractValidator<ScanLoop>
public Validator getScanLoopElementValidator(ScanLoopElement element)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |