org.rhq.enterprise.server.plugin.pc.generic
Class GenericPluginValidator

java.lang.Object
  extended by org.rhq.enterprise.server.plugin.pc.generic.GenericPluginValidator
All Implemented Interfaces:
ServerPluginValidator

public class GenericPluginValidator
extends Object
implements ServerPluginValidator


Constructor Summary
GenericPluginValidator()
           
 
Method Summary
 boolean validate(ServerPluginEnvironment env)
          Given a server plugin environment, this method should validate the descriptor to ensure it is logically correct.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericPluginValidator

public GenericPluginValidator()
Method Detail

validate

public boolean validate(ServerPluginEnvironment env)
Description copied from interface: ServerPluginValidator
Given a server plugin environment, this method should validate the descriptor to ensure it is logically correct.

Specified by:
validate in interface ServerPluginValidator
Parameters:
env - the environment of the plugin to test
Returns:
true if the plugin descriptor is valid, false otherwise


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.