Package 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
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyRtConfigDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclearCache()StringgetBaseURL()StringgetCancelledStatus()StringgetClosedStatus()protected StringgetFile()StringgetOpenStatus()StringgetPassword()protected StringgetPrefix()protected org.apache.commons.configuration.ConfigurationgetProperties()Retrieves the properties defined in the rt.properties file.StringgetQueue()StringgetRequestor()intgetRetry()protected StringgetStringProperty(String propertyName, String defaultValue)intgetTimeout()StringgetUsername()booleangetUseSystemProxy()List<String>getValidCancelledStatus()List<String>getValidClosedStatus()List<String>getValidOpenStatus()voidsave()protected voidsetProperty(String propertyName, Object propertyValue)
-
-
-
Method Detail
-
getProperties
protected org.apache.commons.configuration.Configuration getProperties()
Retrieves the properties defined in the rt.properties file.- Returns:
- a
java.util.Propertiesobject containing rt plugin defined properties
-
getFile
protected String getFile()
-
getPrefix
protected String getPrefix()
-
getUsername
public String getUsername()
- Specified by:
getUsernamein interfaceRtConfigDao
-
getPassword
public String getPassword()
- Specified by:
getPasswordin interfaceRtConfigDao
-
getQueue
public String getQueue()
- Specified by:
getQueuein interfaceRtConfigDao
-
getValidClosedStatus
public List<String> getValidClosedStatus()
- Specified by:
getValidClosedStatusin interfaceRtConfigDao
-
getValidOpenStatus
public List<String> getValidOpenStatus()
- Specified by:
getValidOpenStatusin interfaceRtConfigDao
-
getValidCancelledStatus
public List<String> getValidCancelledStatus()
- Specified by:
getValidCancelledStatusin interfaceRtConfigDao
-
getOpenStatus
public String getOpenStatus()
- Specified by:
getOpenStatusin interfaceRtConfigDao
-
getClosedStatus
public String getClosedStatus()
- Specified by:
getClosedStatusin interfaceRtConfigDao
-
getCancelledStatus
public String getCancelledStatus()
- Specified by:
getCancelledStatusin interfaceRtConfigDao
-
getRequestor
public String getRequestor()
- Specified by:
getRequestorin interfaceRtConfigDao
-
getBaseURL
public String getBaseURL()
- Specified by:
getBaseURLin interfaceRtConfigDao
-
getTimeout
public int getTimeout()
- Specified by:
getTimeoutin interfaceRtConfigDao
-
getRetry
public int getRetry()
- Specified by:
getRetryin interfaceRtConfigDao
-
getUseSystemProxy
public boolean getUseSystemProxy()
- Specified by:
getUseSystemProxyin interfaceRtConfigDao
-
save
public void save() throws IOException- Specified by:
savein interfaceRtConfigDao- Throws:
IOException
-
clearCache
protected void clearCache()
-
-