@Extension public final class RootActionImpl extends Object implements hudson.model.RootAction
RootAction
serves as the end-point for the HTML5
notification plugin: querying for new notifications, and then the actual
"web page" which is rendered by a RunNotification
.Modifier and Type | Field and Description |
---|---|
protected static String |
SESSION_LAST_QUERY |
protected static String |
URL_NAME |
Constructor and Description |
---|
RootActionImpl() |
Modifier and Type | Method and Description |
---|---|
void |
doList(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response) |
protected static Date |
getAndUpdateLastQueryDate(org.kohsuke.stapler.StaplerRequest request) |
String |
getDisplayName() |
protected static net.sf.json.JSONArray |
getHtml5NotifierRunNotificationJSONArray(Date date) |
String |
getIconFileName() |
String |
getUrlName() |
protected static Date |
validateNotNull(Date a,
Date b) |
protected static void |
writeResponse(PrintWriter writer,
String string) |
protected static void |
writeResponse(org.kohsuke.stapler.StaplerResponse response,
String string) |
protected static final String SESSION_LAST_QUERY
protected static final String URL_NAME
protected static Date getAndUpdateLastQueryDate(org.kohsuke.stapler.StaplerRequest request)
protected static net.sf.json.JSONArray getHtml5NotifierRunNotificationJSONArray(Date date)
protected static void writeResponse(PrintWriter writer, String string) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
protected static void writeResponse(org.kohsuke.stapler.StaplerResponse response, String string) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public void doList(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
public String getIconFileName()
getIconFileName
in interface hudson.model.Action
public String getUrlName()
getUrlName
in interface hudson.model.Action
Copyright © 2004-2015. All Rights Reserved.