Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.appdef.shared.pager
Class AppdefPagerFilterAssignSvc

java.lang.Object
  extended by org.hyperic.hq.appdef.shared.pager.AppdefPagerFilterAssignSvc
All Implemented Interfaces:
AppdefPagerFilter

public class AppdefPagerFilterAssignSvc
extends java.lang.Object
implements AppdefPagerFilter

Pager Processor filter that filters object instances of AppdefEntityID representing services based on whether or not the service has been assigned to service clusters and/or applications. This is necessary since authz can't join on appdef tables :-(.


Constructor Summary
AppdefPagerFilterAssignSvc(java.util.List services)
           
AppdefPagerFilterAssignSvc(java.util.List services, boolean negate)
           
 
Method Summary
 int getFilterCount()
          Fetch the number of objects that were successfully caught by the filter -- either inclusively or exclusively
 java.util.List getServices()
           
 boolean isCaught(java.lang.Object o)
          Evaluate an object against the filter.
 boolean isExclusive()
          Is this filer set to exclude resources that match the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppdefPagerFilterAssignSvc

public AppdefPagerFilterAssignSvc(java.util.List services)

AppdefPagerFilterAssignSvc

public AppdefPagerFilterAssignSvc(java.util.List services,
                                  boolean negate)
Method Detail

getServices

public java.util.List getServices()

getFilterCount

public int getFilterCount()
Description copied from interface: AppdefPagerFilter
Fetch the number of objects that were successfully caught by the filter -- either inclusively or exclusively

Specified by:
getFilterCount in interface AppdefPagerFilter

isExclusive

public boolean isExclusive()
Description copied from interface: AppdefPagerFilter
Is this filer set to exclude resources that match the filter. If exclude==false, this would imply an inclusive filter.

Specified by:
isExclusive in interface AppdefPagerFilter

isCaught

public boolean isCaught(java.lang.Object o)
Evaluate an object against the filter.

Specified by:
isCaught in interface AppdefPagerFilter
Parameters:
o - - object instance of AppdefEntityID
Returns:
flag - true if caught (unless negated)

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.