Hyperic HQ Plugin API v. 4.4.0.2

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

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

public class AppdefGroupPagerFilterResource
extends java.lang.Object
implements AppdefPagerFilter

Pager Processor filter that filters an appdef group val based on its resource type.


Constructor Summary
AppdefGroupPagerFilterResource(AppdefResourceTypeValue entityResType)
           
AppdefGroupPagerFilterResource(AppdefResourceTypeValue entityResType, boolean negate)
           
 
Method Summary
 AppdefResourceTypeValue getEntityResType()
           
 int getFilterCount()
          Fetch the number of objects that were successfully caught by the filter -- either inclusively or exclusively
 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.
protected  boolean resourceTypeMatches(AppdefGroupValue groupVo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppdefGroupPagerFilterResource

public AppdefGroupPagerFilterResource(AppdefResourceTypeValue entityResType)

AppdefGroupPagerFilterResource

public AppdefGroupPagerFilterResource(AppdefResourceTypeValue entityResType,
                                      boolean negate)
Method Detail

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

getEntityResType

public AppdefResourceTypeValue getEntityResType()

isCaught

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

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

resourceTypeMatches

protected boolean resourceTypeMatches(AppdefGroupValue groupVo)

Hyperic HQ Plugin API v. 4.4.0.2

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