org.rhq.enterprise.server.perspective.activator
Class LicenseFeatureActivator

java.lang.Object
  extended by org.rhq.enterprise.server.perspective.activator.AbstractGlobalActivator
      extended by org.rhq.enterprise.server.perspective.activator.LicenseFeatureActivator
All Implemented Interfaces:
Serializable, Activator<GlobalActivationContext>

public class LicenseFeatureActivator
extends AbstractGlobalActivator

A global-scoped activator that checks if a particular license feature is enabled.

Author:
Ian Springer
See Also:
Serialized Form

Constructor Summary
LicenseFeatureActivator(LicenseFeature licenseFeature)
           
 
Method Summary
 boolean isActive(GlobalActivationContext context)
           
 
Methods inherited from class org.rhq.enterprise.server.perspective.activator.AbstractGlobalActivator
getScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseFeatureActivator

public LicenseFeatureActivator(LicenseFeature licenseFeature)
Method Detail

isActive

public boolean isActive(GlobalActivationContext context)
Parameters:
context - The context information required to process the activation conditions.
Returns:
true if all of the activation cnditions for this Activator have been met. Otherwise, false.


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