Class DetectMBeansJob
- java.lang.Object
-
- org.opennms.features.vaadin.jmxconfiggenerator.jobs.DetectMBeansJob
-
- All Implemented Interfaces:
Task<JmxDatacollectionConfig>
public class DetectMBeansJob extends Object implements Task<JmxDatacollectionConfig>
Runnable to query the MBean server.
-
-
Constructor Summary
Constructors Constructor Description DetectMBeansJob(JmxConfigGeneratorUI ui, ServiceConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JmxDatacollectionConfigexecute()JmxConfigGeneratorUIgetUI()voidonError()voidonSuccess(JmxDatacollectionConfig generatedJmxConfigModel)
-
-
-
Constructor Detail
-
DetectMBeansJob
public DetectMBeansJob(JmxConfigGeneratorUI ui, ServiceConfig config)
-
-
Method Detail
-
execute
public JmxDatacollectionConfig execute() throws TaskRunException
- Specified by:
executein interfaceTask<JmxDatacollectionConfig>- Throws:
TaskRunException
-
onSuccess
public void onSuccess(JmxDatacollectionConfig generatedJmxConfigModel)
- Specified by:
onSuccessin interfaceTask<JmxDatacollectionConfig>
-
onError
public void onError()
- Specified by:
onErrorin interfaceTask<JmxDatacollectionConfig>
-
getUI
public JmxConfigGeneratorUI getUI()
- Specified by:
getUIin interfaceTask<JmxDatacollectionConfig>
-
-