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 JmxDatacollectionConfig
execute()
JmxConfigGeneratorUI
getUI()
void
onError()
void
onSuccess(JmxDatacollectionConfig generatedJmxConfigModel)
-
-
-
Constructor Detail
-
DetectMBeansJob
public DetectMBeansJob(JmxConfigGeneratorUI ui, ServiceConfig config)
-
-
Method Detail
-
execute
public JmxDatacollectionConfig execute() throws TaskRunException
- Specified by:
execute
in interfaceTask<JmxDatacollectionConfig>
- Throws:
TaskRunException
-
onSuccess
public void onSuccess(JmxDatacollectionConfig generatedJmxConfigModel)
- Specified by:
onSuccess
in interfaceTask<JmxDatacollectionConfig>
-
onError
public void onError()
- Specified by:
onError
in interfaceTask<JmxDatacollectionConfig>
-
getUI
public JmxConfigGeneratorUI getUI()
- Specified by:
getUI
in interfaceTask<JmxDatacollectionConfig>
-
-