edu.nrao.sss.model.resource
Class ResourceValidator

java.lang.Object
  extended by edu.nrao.sss.validation.AbstractValidator<Resource>
      extended by edu.nrao.sss.model.resource.ResourceValidator
All Implemented Interfaces:
Validator

public class ResourceValidator
extends AbstractValidator<Resource>

A validator of resources.

Validations Performed for All Purposes

  1. Selected receivers belong to chosen telescope.
  2. Selected receivers represent a valid combination.
  3. Validation of contained backends.1
1The particular validations performed depend on the validator used by this one to operate on those contained backends.

Version Info:

$Revision: 1357 $
$Date: 2008-06-18 10:56:42 -0600 (Wed, 18 Jun 2008) $
$Author: dharland $ (last person to modify)

Since:
2008-05-01
Author:
David M. Harland

Field Summary
 
Fields inherited from class edu.nrao.sss.validation.AbstractValidator
failFast, failures, manager, purpose, target
 
Constructor Summary
ResourceValidator()
          Creates a new instance.
 
Method Summary
protected  List<Validation<Resource>> makeValidationList(ValidationPurpose purpose)
           
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

ResourceValidator

public ResourceValidator()
Creates a new instance.

Method Detail

makeValidationList

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

validate

protected void validate()
Overrides:
validate in class AbstractValidator<Resource>


Copyright © 2009. All Rights Reserved.