⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 updatemanager.html

📁 开源软件openfire的API文件。进行openfire的二次开发所必需的工具。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<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&nbsp;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&nbsp;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&nbsp;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>&nbsp;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&nbsp;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>&nbsp;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>&nbsp;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>&lt;<A HREF="../../../../org/jivesoftware/openfire/update/Update.html" title="class in org.jivesoftware.openfire.update">Update</A>&gt; <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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">&nbsp;<A HREF="../../../../org/jivesoftware/openfire/update/Update.html" title="class in org.jivesoftware.openfire.update"><B>PREV CLASS</B></A>&nbsp;&nbsp;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>  &nbsp;&nbsp;<A HREF="UpdateManager.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright &copy; 2003-2008 Jive Software.</i></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -