public abstract class AbstractSystemReportPlugin extends Object implements SystemReportPlugin
Modifier and Type | Field and Description |
---|---|
protected ResourceLocator |
m_resourceLocator |
protected static long |
MAX_PROCESS_WAIT |
Constructor and Description |
---|
AbstractSystemReportPlugin() |
Modifier and Type | Method and Description |
---|---|
protected void |
addGetters(Object o,
Map<String,org.springframework.core.io.Resource> map) |
int |
compareTo(SystemReportPlugin o) |
protected File |
createTemporaryFileFromString(String text) |
protected <T> T |
getBean(String mxBeanName,
Class<T> clazz) |
protected <T> T |
getBean(String mxBeanName,
List<? extends Class<T>> classes) |
protected <T> List<T> |
getBeans(String mxBeanName,
Class<T> clazz) |
Map<String,org.springframework.core.io.Resource> |
getEntries()
Get a map of key/value pairs of data exposed by the plugin.
|
protected Set<Integer> |
getOpenNMSProcesses() |
int |
getPriority()
Get the priority of this plugin.
|
protected org.springframework.core.io.Resource |
getResource(String text) |
protected org.springframework.core.io.Resource |
getResourceFromProperty(String propertyName) |
protected ResourceLocator |
getResourceLocator() |
protected void |
setResourceLocator(ResourceLocator resourceLocator) |
protected String |
slurp(File lsb) |
protected String |
slurpCommand(String[] command) |
protected Map<String,String> |
splitMultilineString(String regex,
String text) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getName
protected static final long MAX_PROCESS_WAIT
protected ResourceLocator m_resourceLocator
public int getPriority()
SystemReportPlugin
getPriority
in interface SystemReportPlugin
protected ResourceLocator getResourceLocator()
protected void setResourceLocator(ResourceLocator resourceLocator)
public Map<String,org.springframework.core.io.Resource> getEntries()
SystemReportPlugin
getEntries
in interface SystemReportPlugin
public int compareTo(SystemReportPlugin o)
compareTo
in interface Comparable<SystemReportPlugin>
protected org.springframework.core.io.Resource getResourceFromProperty(String propertyName)
protected org.springframework.core.io.Resource getResource(String text)
protected void addGetters(Object o, Map<String,org.springframework.core.io.Resource> map)
Copyright © 2021. All rights reserved.