org.rhq.enterprise.server.plugin.pc.bundle
Class BundlePluginValidator

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

public class BundlePluginValidator
extends Object
implements ServerPluginValidator

Validate a bundle plugin. See ServerPluginValidator for more information.

Author:
John Mazzitelli

Constructor Summary
BundlePluginValidator()
           
 
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

BundlePluginValidator

public BundlePluginValidator()
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.