Package net.bull.javamelody
Class NodesController
java.lang.Object
net.bull.javamelody.NodesController
Controller between data and presentation for Hudson/Jenkins' nodes (slaves in
general)
- Author:
- Emeric Vernat
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNodesController
(NodesCollector nodesCollector, String nodeName) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
doMonitoring
(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) Generate a reportstatic boolean
isJavaInformationsNeeded
(jakarta.servlet.http.HttpServletRequest httpRequest) Is it necessary to collect java informations for this monitoring request?
-
Field Details
-
SESSION_REMOTE_USER
For HudsonMonitoringFilter.- See Also:
-
-
Constructor Details
-
NodesController
Constructor.- Parameters:
nodesCollector
- NodesCollectornodeName
- Nom du node
-
-
Method Details
-
doMonitoring
public void doMonitoring(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws IOException Generate a report- Parameters:
req
- Http requestresp
- Http response- Throws:
IOException
- e
-
isJavaInformationsNeeded
public static boolean isJavaInformationsNeeded(jakarta.servlet.http.HttpServletRequest httpRequest) Is it necessary to collect java informations for this monitoring request?- Parameters:
httpRequest
- HttpServletRequest- Returns:
- boolean
-