|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.config.EventconfFactory
Nested Class Summary | |
private static class |
EventconfFactory.EventLabelComparator
|
Field Summary | |
private static boolean |
initialized
Boolean indicating if the init() method has been called |
private static EventconfFactory |
instance
The static singleton instance of the EventconfFactory |
private static java.util.List |
m_events
List of configured events |
private static Global |
m_global
List of global properties |
Constructor Summary | |
private |
EventconfFactory()
|
Method Summary | |
Event |
getEvent(java.lang.String uei,
Mask mask)
Deprecated. This function is not implemented completely. It will not perform as expected. When it is implemented, remove this deprecation tag. |
java.lang.String |
getEventLabel(java.lang.String uei)
|
java.util.Map |
getEventLabels()
|
java.util.List |
getEvents(java.lang.String uei)
|
java.util.List |
getEventsByLabel()
|
java.util.List |
getEventUEIs()
|
static EventconfFactory |
getInstance()
Singleton static call to get the only instance that should exist for the EventconfFactory |
static void |
init()
|
static void |
reload()
|
void |
removeEvent(java.lang.String uei,
Mask mask)
|
void |
removeEvents(java.lang.String uei)
|
void |
saveCurrent()
|
void |
saveEvents(java.util.Collection eventsList)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static EventconfFactory instance
private static java.util.List m_events
private static Global m_global
private static boolean initialized
Constructor Detail |
private EventconfFactory()
Method Detail |
public static void init() throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public static EventconfFactory getInstance()
public static void reload() throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public java.util.List getEvents(java.lang.String uei)
public Event getEvent(java.lang.String uei, Mask mask)
public java.util.List getEventUEIs()
public java.util.Map getEventLabels()
public java.lang.String getEventLabel(java.lang.String uei)
public void saveEvents(java.util.Collection eventsList) throws org.exolab.castor.xml.MarshalException, java.io.IOException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
java.io.IOException
org.exolab.castor.xml.ValidationException
public void removeEvents(java.lang.String uei) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException, java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
java.io.IOException
public void removeEvent(java.lang.String uei, Mask mask) throws org.exolab.castor.xml.MarshalException, java.io.IOException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
java.io.IOException
org.exolab.castor.xml.ValidationException
public void saveCurrent() throws org.exolab.castor.xml.MarshalException, java.io.IOException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
java.io.IOException
org.exolab.castor.xml.ValidationException
public java.util.List getEventsByLabel()
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |