Package org.opennms.netmgt.rt
Class ReadOnlyRtConfigDao
- java.lang.Object
-
- org.opennms.netmgt.rt.ReadOnlyRtConfigDao
-
- All Implemented Interfaces:
RtConfigDao
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 void
clearCache()
String
getBaseURL()
String
getCancelledStatus()
String
getClosedStatus()
protected String
getFile()
String
getOpenStatus()
String
getPassword()
protected String
getPrefix()
protected org.apache.commons.configuration.Configuration
getProperties()
Retrieves the properties defined in the rt.properties file.String
getQueue()
String
getRequestor()
int
getRetry()
protected String
getStringProperty(String propertyName, String defaultValue)
int
getTimeout()
String
getUsername()
boolean
getUseSystemProxy()
List<String>
getValidCancelledStatus()
List<String>
getValidClosedStatus()
List<String>
getValidOpenStatus()
void
save()
protected void
setProperty(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.Properties
object containing rt plugin defined properties
-
getFile
protected String getFile()
-
getPrefix
protected String getPrefix()
-
getUsername
public String getUsername()
- Specified by:
getUsername
in interfaceRtConfigDao
-
getPassword
public String getPassword()
- Specified by:
getPassword
in interfaceRtConfigDao
-
getQueue
public String getQueue()
- Specified by:
getQueue
in interfaceRtConfigDao
-
getValidClosedStatus
public List<String> getValidClosedStatus()
- Specified by:
getValidClosedStatus
in interfaceRtConfigDao
-
getValidOpenStatus
public List<String> getValidOpenStatus()
- Specified by:
getValidOpenStatus
in interfaceRtConfigDao
-
getValidCancelledStatus
public List<String> getValidCancelledStatus()
- Specified by:
getValidCancelledStatus
in interfaceRtConfigDao
-
getOpenStatus
public String getOpenStatus()
- Specified by:
getOpenStatus
in interfaceRtConfigDao
-
getClosedStatus
public String getClosedStatus()
- Specified by:
getClosedStatus
in interfaceRtConfigDao
-
getCancelledStatus
public String getCancelledStatus()
- Specified by:
getCancelledStatus
in interfaceRtConfigDao
-
getRequestor
public String getRequestor()
- Specified by:
getRequestor
in interfaceRtConfigDao
-
getBaseURL
public String getBaseURL()
- Specified by:
getBaseURL
in interfaceRtConfigDao
-
getTimeout
public int getTimeout()
- Specified by:
getTimeout
in interfaceRtConfigDao
-
getRetry
public int getRetry()
- Specified by:
getRetry
in interfaceRtConfigDao
-
getUseSystemProxy
public boolean getUseSystemProxy()
- Specified by:
getUseSystemProxy
in interfaceRtConfigDao
-
save
public void save() throws IOException
- Specified by:
save
in interfaceRtConfigDao
- Throws:
IOException
-
clearCache
protected void clearCache()
-
-