edu.nrao.sss.model.project.scan
Class SimpleScanValidator

java.lang.Object
  extended by edu.nrao.sss.validation.AbstractValidator<S>
      extended by edu.nrao.sss.model.project.scan.SimpleScanValidator
All Implemented Interfaces:
Validator

public class SimpleScanValidator
extends AbstractValidator<S>

A validator of scans.

Validations Performed for All Purposes

  1. Short name and/or long name was set.
  2. One or more intents were set.
  3. Resource is not null.
  4. Source is not null.
  5. Duration or time was set.

Version Info:

$Revision: 372 $
$Date: 2007-02-20 15:48:40 -0700 (Tue, 20 Feb 2007) $
$Author: dharland $

Since:
2007-02-13
Author:
David M. Harland

Field Summary
 
Fields inherited from class edu.nrao.sss.validation.AbstractValidator
failFast, failures, manager, purpose, target
 
Constructor Summary
SimpleScanValidator()
          Creates a new instance.
 
Method Summary
protected  List<Validation<S>> makeValidationList(ValidationPurpose purpose)
           
 
Methods inherited from class edu.nrao.sss.validation.AbstractValidator
getName, getPurpose, getTarget, setManager, stopTestingAfterFirstFailure, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleScanValidator

public SimpleScanValidator()
Creates a new instance.

Method Detail

makeValidationList

protected List<Validation<S>> makeValidationList(ValidationPurpose purpose)
Specified by:
makeValidationList in class AbstractValidator<S extends Scan>


Copyright © 2009. All Rights Reserved.