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

📄 diagnostics.html

📁 一个实用的java源程序
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="Diagnostics(com.bea.wli.config.Ref)"><!-- --></A><H3>
Diagnostics</H3>
<PRE>
public <B>Diagnostics</B>(<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>&nbsp;ref)</PRE>
<DL>
<DD>Constructor for creating a Diagnostics object with an empty collection of <A HREF="../../../../../com/bea/wli/config/resource/Diagnostic.html" title="class in com.bea.wli.config.resource"><CODE>Diagnostic</CODE></A> objects.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>ref</CODE> - the reference to the resource which this collection of diagnostics relate to. Cannot be null.  This method does not check the existence of the given resource.</DL>
</DL>
<HR>

<A NAME="Diagnostics(com.bea.wli.config.Ref, java.util.Collection)"><!-- --></A><H3>
Diagnostics</H3>
<PRE>
public <B>Diagnostics</B>(<A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>&nbsp;ref,
                   <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../../com/bea/wli/config/resource/Diagnostic.html" title="class in com.bea.wli.config.resource">Diagnostic</A>&gt;&nbsp;diagnostics)</PRE>
<DL>
<DD>Constructor for creating a Diagnostics object with the given initial set of <A HREF="../../../../../com/bea/wli/config/resource/Diagnostic.html" title="class in com.bea.wli.config.resource"><CODE>Diagnostic</CODE></A> object. More diagnostic objects can be added via the <A HREF="../../../../../com/bea/wli/config/resource/Diagnostics.html#add(com.bea.wli.config.resource.Diagnostic)"><CODE>add(com.bea.wli.config.resource.Diagnostic)</CODE></A> method.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>ref</CODE> - the reference to the resource which this collection of diagnostics relate to. Cannot be null.  This method does not check the existence of the given resource.<DD><CODE>diagnostics</CODE> - initial collection of diagnostics. Cannot be null. A copy of this collection is used.  Therefore unmodifiable collections can be passed.</DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getSeverity()"><!-- --></A><H3>
getSeverity</H3>
<PRE>
public <A HREF="../../../../../com/bea/wli/config/resource/Diagnostic.Severity.html" title="enum in com.bea.wli.config.resource">Diagnostic.Severity</A> <B>getSeverity</B>()</PRE>
<DL>
<DD>Returns the aggregated severity of all the diagnostic objects contained.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../com/bea/wli/config/resource/Diagnostic.Severity.html#combine(com.bea.wli.config.resource.Diagnostic.Severity, com.bea.wli.config.resource.Diagnostic.Severity)"><CODE>Diagnostic.Severity.combine(com.bea.wli.config.resource.Diagnostic.Severity, com.bea.wli.config.resource.Diagnostic.Severity)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="add(com.bea.wli.config.resource.Diagnostic)"><!-- --></A><H3>
add</H3>
<PRE>
public void <B>add</B>(<A HREF="../../../../../com/bea/wli/config/resource/Diagnostic.html" title="class in com.bea.wli.config.resource">Diagnostic</A>&nbsp;d)</PRE>
<DL>
<DD>Add a diagnostic. The aggregate severity of this container is properly adjusted.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>d</CODE> - </DL>
</DD>
</DL>
<HR>

<A NAME="addAll(java.util.Collection)"><!-- --></A><H3>
addAll</H3>
<PRE>
public void <B>addAll</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../../com/bea/wli/config/resource/Diagnostic.html" title="class in com.bea.wli.config.resource">Diagnostic</A>&gt;&nbsp;dlist)</PRE>
<DL>
<DD>add a list of diagnostic objects.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dlist</CODE> - </DL>
</DD>
</DL>
<HR>

<A NAME="getDiagnostics()"><!-- --></A><H3>
getDiagnostics</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../../../com/bea/wli/config/resource/Diagnostic.html" title="class in com.bea.wli.config.resource">Diagnostic</A>&gt; <B>getDiagnostics</B>()</PRE>
<DL>
<DD>Returns an immutable view of all diagnostic objects contained
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getFirstError()"><!-- --></A><H3>
getFirstError</H3>
<PRE>
public <A HREF="../../../../../com/bea/wli/config/resource/Diagnostic.html" title="class in com.bea.wli.config.resource">Diagnostic</A> <B>getFirstError</B>()</PRE>
<DL>
<DD>returns the first diagnostic entry whose severity is either <A HREF="../../../../../com/bea/wli/config/resource/Diagnostic.Severity.html#CannotCommit"><CODE>Diagnostic.Severity.CannotCommit</CODE></A> or <A HREF="../../../../../com/bea/wli/config/resource/Diagnostic.Severity.html#CannotCreate"><CODE>Diagnostic.Severity.CannotCreate</CODE></A>. If there is no such entry, returns null.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getRef()"><!-- --></A><H3>
getRef</H3>
<PRE>
public <A HREF="../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A> <B>getRef</B>()</PRE>
<DL>
<DD>returns the reference for the resource which this diagnostics relate to
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
<DL>
<DD>Returns a string representation of this diagnostics object
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL>
</DD>
<DD><DL>
</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>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/bea/wli/config/resource/Diagnostic.UserSeverity.html" title="enum in com.bea.wli.config.resource"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../com/bea/wli/config/resource/ResourceQuery.html" title="class in com.bea.wli.config.resource"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?com/bea/wli/config/resource/Diagnostics.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Diagnostics.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;FIELD&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;FIELD&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>

</BODY>
</HTML>

⌨️ 快捷键说明

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