📄 updatemanager.html
字号:
<DT><B>Returns:</B><DD>the message to send to admins when new updates are available.</DL></DD></DL><HR><A NAME="isServiceEnabled()"><!-- --></A><H3>isServiceEnabled</H3><PRE>public boolean <B>isServiceEnabled</B>()</PRE><DL><DD>Returns true if the check for updates service is enabled.<P><DD><DL><DT><B>Returns:</B><DD>true if the check for updates service is enabled.</DL></DD></DL><HR><A NAME="setServiceEnabled(boolean)"><!-- --></A><H3>setServiceEnabled</H3><PRE>public void <B>setServiceEnabled</B>(boolean enabled)</PRE><DL><DD>Sets if the check for updates service is enabled.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>enabled</CODE> - true if the check for updates service is enabled.</DL></DD></DL><HR><A NAME="isNotificationEnabled()"><!-- --></A><H3>isNotificationEnabled</H3><PRE>public boolean <B>isNotificationEnabled</B>()</PRE><DL><DD>Returns true if admins should be notified by IM when new updates are available.<P><DD><DL><DT><B>Returns:</B><DD>true if admins should be notified by IM when new updates are available.</DL></DD></DL><HR><A NAME="setNotificationEnabled(boolean)"><!-- --></A><H3>setNotificationEnabled</H3><PRE>public void <B>setNotificationEnabled</B>(boolean enabled)</PRE><DL><DD>Sets if admins should be notified by IM when new updates are available.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>enabled</CODE> - true if admins should be notified by IM when new updates are available.</DL></DD></DL><HR><A NAME="getCheckFrequency()"><!-- --></A><H3>getCheckFrequency</H3><PRE>public int <B>getCheckFrequency</B>()</PRE><DL><DD>Returns the frequency to check for updates. By default, this will happen every 48 hours. The frequency returned will never be less than 12 hours.<P><DD><DL><DT><B>Returns:</B><DD>the frequency to check for updates in hours.</DL></DD></DL><HR><A NAME="setCheckFrequency(int)"><!-- --></A><H3>setCheckFrequency</H3><PRE>public void <B>setCheckFrequency</B>(int checkFrequency)</PRE><DL><DD>Sets the frequency to check for updates. By default, this will happen every 48 hours.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>checkFrequency</CODE> - the frequency to check for updates.</DL></DD></DL><HR><A NAME="isUsingProxy()"><!-- --></A><H3>isUsingProxy</H3><PRE>public boolean <B>isUsingProxy</B>()</PRE><DL><DD>Returns true if a proxy is being used to connect to igniterealtime.org or false if a direct connection should be attempted.<P><DD><DL><DT><B>Returns:</B><DD>true if a proxy is being used to connect to igniterealtime.org.</DL></DD></DL><HR><A NAME="getProxyHost()"><!-- --></A><H3>getProxyHost</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getProxyHost</B>()</PRE><DL><DD>Returns the host of the proxy to use to connect to igniterealtime.org or <tt>null</tt> if no proxy is used.<P><DD><DL><DT><B>Returns:</B><DD>the host of the proxy or null if no proxy is used.</DL></DD></DL><HR><A NAME="setProxyHost(java.lang.String)"><!-- --></A><H3>setProxyHost</H3><PRE>public void <B>setProxyHost</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> host)</PRE><DL><DD>Sets the host of the proxy to use to connect to igniterealtime.org or <tt>null</tt> if no proxy is used.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>host</CODE> - the host of the proxy or null if no proxy is used.</DL></DD></DL><HR><A NAME="getProxyPort()"><!-- --></A><H3>getProxyPort</H3><PRE>public int <B>getProxyPort</B>()</PRE><DL><DD>Returns the port of the proxy to use to connect to igniterealtime.org or -1 if no proxy is being used.<P><DD><DL><DT><B>Returns:</B><DD>the port of the proxy to use to connect to igniterealtime.org or -1 if no proxy is being used.</DL></DD></DL><HR><A NAME="setProxyPort(int)"><!-- --></A><H3>setProxyPort</H3><PRE>public void <B>setProxyPort</B>(int port)</PRE><DL><DD>Sets the port of the proxy to use to connect to igniterealtime.org or -1 if no proxy is being used.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>port</CODE> - the port of the proxy to use to connect to igniterealtime.org or -1 if no proxy is being used.</DL></DD></DL><HR><A NAME="getServerUpdate()"><!-- --></A><H3>getServerUpdate</H3><PRE>public <A HREF="../../../../org/jivesoftware/openfire/update/Update.html" title="class in org.jivesoftware.openfire.update">Update</A> <B>getServerUpdate</B>()</PRE><DL><DD>Returns the server update or <tt>null</tt> if the server is up to date.<P><DD><DL><DT><B>Returns:</B><DD>the server update or null if the server is up to date.</DL></DD></DL><HR><A NAME="getPluginUpdate(java.lang.String, java.lang.String)"><!-- --></A><H3>getPluginUpdate</H3><PRE>public <A HREF="../../../../org/jivesoftware/openfire/update/Update.html" title="class in org.jivesoftware.openfire.update">Update</A> <B>getPluginUpdate</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> pluginName, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> currentVersion)</PRE><DL><DD>Returns the plugin update or <tt>null</tt> if the plugin is up to date.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pluginName</CODE> - the name of the plugin (as described in the meta-data).<DD><CODE>currentVersion</CODE> - current version of the plugin that is installed.<DT><B>Returns:</B><DD>the plugin update or null if the plugin is up to date.</DL></DD></DL><HR><A NAME="getPluginUpdates()"><!-- --></A><H3>getPluginUpdates</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A><<A HREF="../../../../org/jivesoftware/openfire/update/Update.html" title="class in org.jivesoftware.openfire.update">Update</A>> <B>getPluginUpdates</B>()</PRE><DL><DD>Returns a previously fetched list of updates.<P><DD><DL><DT><B>Returns:</B><DD>a previously fetched list of updates.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Openfire 3.6.0a Javadoc</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jivesoftware/openfire/update/Update.html" title="class in org.jivesoftware.openfire.update"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/jivesoftware/openfire/update/UpdateManager.html" target="_top"><B>FRAMES</B></A> <A HREF="UpdateManager.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 2003-2008 Jive Software.</i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -