com.threerings.antidote
Class Validator
java.lang.Object
com.threerings.antidote.Validator
public class Validator
- extends Object
Turns lists of RequiresValidation
objects into a single BuildException
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Validator
public Validator()
addValidation
public void addValidation(RequiresValidation validator)
- Add a
RequiresValidation
object to be reported by this Validator
validateAll
public void validateAll()
- Validates all
RequiresValidation
objects known to this Validator, throwing a
single BuildException
for all detected violations.
- Throws:
BuildException
Copyright © 2007-2008 Three Rings Design, Inc.
All Rights Reserved. Released under a BSD license.