org.codehaus.plexus.redback.role.validator
Class DefaultRoleModelValidator

java.lang.Object
  extended by org.codehaus.plexus.redback.role.validator.DefaultRoleModelValidator
All Implemented Interfaces:
RoleModelValidator

public class DefaultRoleModelValidator
extends java.lang.Object
implements RoleModelValidator

DefaultRoleModelValidator: validates completeness of the model


Field Summary
 
Fields inherited from interface org.codehaus.plexus.redback.role.validator.RoleModelValidator
ROLE
 
Constructor Summary
DefaultRoleModelValidator()
           
 
Method Summary
 java.util.List getValidationErrors()
           
 boolean validate(RedbackRoleModel model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRoleModelValidator

public DefaultRoleModelValidator()
Method Detail

validate

public boolean validate(RedbackRoleModel model)
                 throws RoleManagerException
Specified by:
validate in interface RoleModelValidator
Throws:
RoleManagerException

getValidationErrors

public java.util.List getValidationErrors()
Specified by:
getValidationErrors in interface RoleModelValidator


Copyright © 2006-2008 Codehaus. All Rights Reserved.