org.jboss.dashboard.profiler
Class ThreadProfileFilter
java.lang.Object
org.jboss.dashboard.commons.filter.AbstractFilter
org.jboss.dashboard.profiler.ThreadProfileFilter
- All Implemented Interfaces:
- Cloneable, Filter, FilterByCriteria
public class ThreadProfileFilter
- extends AbstractFilter
Class used by the Profiler to get the list of thread to show.
It filters using as criteria the global context variables of the ThreadProfile instances.
| Methods inherited from class org.jboss.dashboard.commons.filter.AbstractFilter |
addProperties, addProperty, addProperty, cloneFilter, compare, compareBySimilarity, containsProperty, containsProperty, equals, executeBeanShellScript, getExtraInfo, getFilterCondition, getGt, getGtOrEq, getLocale, getLt, getLtOrEq, getProperty, getPropertyAllowedValues, getPropertyAllowMode, getPropertyIds, getPropertyMaxValue, getPropertyMinValue, getPropertyPriority, getVariableName, getWildcard, maxValueIncluded, minValueIncluded, pass, pass, pass, pass, passValue, removeAllProperty, removeProperties, removeProperty, setExtraInfo, setFilterCondition, setGt, setGtOrEq, setLocale, setLt, setLtOrEq, setVariableName, setWildcard, toString |
_dateComparisonFormat
public static final SimpleDateFormat _dateComparisonFormat
- Date format for comparison in filter.
ThreadProfileFilter
public ThreadProfileFilter()
formatForDisplay
protected String formatForDisplay(String propertyId,
Object value)
- Description copied from class:
AbstractFilter
- Format a given property value as displayed for the the user.
- Specified by:
formatForDisplay in class AbstractFilter
- Parameters:
propertyId - The property identifier.value - The value to format.
formatForComparison
protected String formatForComparison(String propertyId,
Object value)
- Description copied from class:
AbstractFilter
- Format a given property value valid for string comparfison against other values.
- Specified by:
formatForComparison in class AbstractFilter
- Parameters:
propertyId - The property identifier.value - The value to format.
getPropertyValue
protected Object getPropertyValue(String propertyId,
Object obj)
- Description copied from class:
AbstractFilter
- Retrieve the value for a given property.
- Specified by:
getPropertyValue in class AbstractFilter
- Parameters:
propertyId - The property to search value for.obj - The object instance to ask for.
- Returns:
- The value.
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.