org.opennms.netmgt.rt
Class ReadOnlyRtConfigDao
java.lang.Object
org.opennms.netmgt.rt.ReadOnlyRtConfigDao
- All Implemented Interfaces:
- RtConfigDao
- Direct Known Subclasses:
- SupportRtConfigDao
public class ReadOnlyRtConfigDao
- extends Object
- implements RtConfigDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadOnlyRtConfigDao
public ReadOnlyRtConfigDao()
getProperties
protected org.apache.commons.configuration.Configuration getProperties()
- Retrieves the properties defined in the rt.properties file.
- Returns:
- a
java.util.Properties object containing rt plugin defined properties
getFile
protected String getFile()
getPrefix
protected String getPrefix()
getUsername
public String getUsername()
- Specified by:
getUsername in interface RtConfigDao
getPassword
public String getPassword()
- Specified by:
getPassword in interface RtConfigDao
getQueue
public String getQueue()
- Specified by:
getQueue in interface RtConfigDao
getValidClosedStatus
public List<String> getValidClosedStatus()
- Specified by:
getValidClosedStatus in interface RtConfigDao
getValidOpenStatus
public List<Integer> getValidOpenStatus()
- Specified by:
getValidOpenStatus in interface RtConfigDao
getValidCancelledStatus
public List<String> getValidCancelledStatus()
- Specified by:
getValidCancelledStatus in interface RtConfigDao
getOpenStatus
public String getOpenStatus()
- Specified by:
getOpenStatus in interface RtConfigDao
getClosedStatus
public String getClosedStatus()
- Specified by:
getClosedStatus in interface RtConfigDao
getCancelledStatus
public String getCancelledStatus()
- Specified by:
getCancelledStatus in interface RtConfigDao
getRequestor
public String getRequestor()
- Specified by:
getRequestor in interface RtConfigDao
getBaseURL
public String getBaseURL()
- Specified by:
getBaseURL in interface RtConfigDao
getTimeout
public int getTimeout()
- Specified by:
getTimeout in interface RtConfigDao
getRetry
public int getRetry()
- Specified by:
getRetry in interface RtConfigDao
save
public void save()
throws IOException
- Specified by:
save in interface RtConfigDao
- Throws:
IOException
clearCache
protected void clearCache()
getStringProperty
protected String getStringProperty(String propertyName,
String defaultValue)
setProperty
protected void setProperty(String propertyName,
Object propertyValue)
Copyright © 2011. All Rights Reserved.