Class QueryResult
- java.lang.Object
-
- org.opennms.features.jmxconfiggenerator.jmxconfig.query.QueryResult
-
public class QueryResult extends Object
Represents the result of a query when using theMBeanServerQuery
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryResult.AttributeResult
static class
QueryResult.MBeanResult
-
Constructor Summary
Constructors Constructor Description QueryResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<QueryResult.MBeanResult>
getMBeanResults()
int
getTotalMBeanCount()
void
put(ObjectName objectName, MBeanAttributeInfo attributeInfo)
void
put(ObjectName objectName, MBeanInfo mbeanInfo)
void
remove(ObjectName objectName, MBeanAttributeInfo eachAttribute)
void
removeEmptyMBeanResults()
void
setAttributeTotalCount(ObjectName objectName, int attributeTotalCount)
void
setTotalMBeanCount(int totalCount)
void
sort()
-
-
-
Method Detail
-
setAttributeTotalCount
public void setAttributeTotalCount(ObjectName objectName, int attributeTotalCount)
-
put
public void put(ObjectName objectName, MBeanAttributeInfo attributeInfo)
-
put
public void put(ObjectName objectName, MBeanInfo mbeanInfo)
-
getTotalMBeanCount
public int getTotalMBeanCount()
-
setTotalMBeanCount
public void setTotalMBeanCount(int totalCount)
-
getMBeanResults
public List<QueryResult.MBeanResult> getMBeanResults()
-
removeEmptyMBeanResults
public void removeEmptyMBeanResults()
-
remove
public void remove(ObjectName objectName, MBeanAttributeInfo eachAttribute)
-
sort
public void sort()
-
-