Package org.opennms.web.admin.config
Class PollerConfigServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.opennms.web.admin.config.PollerConfigServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class PollerConfigServlet extends javax.servlet.http.HttpServlet
A servlet that handles managing or unmanaging interfaces and services on a node- Author:
- Jacinta Remedios , OpenNMS
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
redirectSuccess
-
Constructor Summary
Constructors Constructor Description PollerConfigServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
adjustNonChecked(java.util.List<java.lang.String> checkedList)
adjustNonCheckedvoid
deleteThese(java.util.List<java.lang.String> deleteServices)
deleteThesevoid
doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
init()
initvoid
initPollerServices()
initPollerServicesvoid
modifyPollerInfo(java.lang.String bPolled, java.lang.String protocol)
modifyPollerInfovoid
reloadFiles()
reloadFilesvoid
removeMonitor(java.lang.String service)
removeMonitor-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
init
public void init() throws javax.servlet.ServletException
init
- Overrides:
init
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
- if any.
-
reloadFiles
public void reloadFiles() throws javax.servlet.ServletException
reloadFiles
- Throws:
javax.servlet.ServletException
- if any.
-
initPollerServices
public void initPollerServices()
initPollerServices
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
- Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
-
adjustNonChecked
public void adjustNonChecked(java.util.List<java.lang.String> checkedList)
adjustNonChecked
- Parameters:
checkedList
- aList
object.
-
deleteThese
public void deleteThese(java.util.List<java.lang.String> deleteServices) throws java.io.IOException
deleteThese
- Parameters:
deleteServices
- aList
object.- Throws:
java.io.IOException
- if any.
-
removeMonitor
public void removeMonitor(java.lang.String service)
removeMonitor
FIXME: I think that this should be using Iterator.remove()- Parameters:
service
- aString
object.
-
modifyPollerInfo
public void modifyPollerInfo(java.lang.String bPolled, java.lang.String protocol)
modifyPollerInfo
- Parameters:
bPolled
- aString
object.protocol
- aString
object.
-
-