📄 progressmanager.html
字号:
<A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#ProgressManager()">ProgressManager</A></B>()</CODE><BR> </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#addProcessingEventListener(it.geosolutions.utils.progress.ProcessingEventListener)">addProcessingEventListener</A></B>(<A HREF="../../../../it/geosolutions/utils/progress/ProcessingEventListener.html" title="interface in it.geosolutions.utils.progress">ProcessingEventListener</A> listener)</CODE><BR> Adding a listener for the notifications.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#dispose()">dispose</A></B>()</CODE><BR> Cleans up the <A HREF="../../../../it/geosolutions/utils/imagemosaic/MosaicIndexBuilder.html" title="class in it.geosolutions.utils.imagemosaic"><CODE>MosaicIndexBuilder</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#fireEvent(java.lang.String, double)">fireEvent</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> string, double percentage)</CODE><BR> Firing an event to listeners in order to inform them about what we are doing and about the percentage of work already carried out.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#fireException(java.lang.Exception)">fireException</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A> ex)</CODE><BR> Firing an exception event to listeners in order to inform them that processing broke and we can no longer proceed. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#fireException(java.lang.String, double, java.lang.Exception)">fireException</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> string, double percentage, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A> ex)</CODE><BR> Firing an exception event to listeners in order to inform them that processing broke and we can no longer proceed</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#getStopThread()">getStopThread</A></B>()</CODE><BR> Should this thread be stopped?</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#removeAllProcessingEventListeners()">removeAllProcessingEventListeners</A></B>()</CODE><BR> Removing all the listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#removeProcessingEventListener(it.geosolutions.utils.progress.ProcessingEventListener)">removeProcessingEventListener</A></B>(<A HREF="../../../../it/geosolutions/utils/progress/ProcessingEventListener.html" title="interface in it.geosolutions.utils.progress">ProcessingEventListener</A> listener)</CODE><BR> Removing a listener.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#run()">run</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#sendEvent(it.geosolutions.utils.progress.ProgressManager.ProgressEventDispatchThreadEventLauncher)">sendEvent</A></B>(<A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.ProgressEventDispatchThreadEventLauncher.html" title="class in it.geosolutions.utils.progress">ProgressManager.ProgressEventDispatchThreadEventLauncher</A> eventLauncher)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#stopThread()">stopThread</A></B>()</CODE><BR> Stop this thread.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="cmdOpts"><!-- --></A><H3>cmdOpts</H3><PRE>protected final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>cmdOpts</B></PRE><DL><DD>Options for the command line.<P><DL></DL></DL><HR><A NAME="cmdParser"><!-- --></A><H3>cmdParser</H3><PRE>protected final Parser <B>cmdParser</B></PRE><DL><DL></DL></DL><HR><A NAME="arguments"><!-- --></A><H3>arguments</H3><PRE>protected final ArgumentBuilder <B>arguments</B></PRE><DL><DL></DL></DL><HR><A NAME="sendDelayedMessages"><!-- --></A><H3>sendDelayedMessages</H3><PRE>protected final boolean <B>sendDelayedMessages</B></PRE><DL><DD>Set this to false for command line UIs where the delayed event sending may prevent some messages to be seen before the tool exits, to true for real GUI where you don't want the processing to be blocked too long, or when you have slow listeners in general.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#it.geosolutions.utils.progress.ProgressManager.sendDelayedMessages">Constant Field Values</A></DL></DL><HR><A NAME="optionBuilder"><!-- --></A><H3>optionBuilder</H3><PRE>protected final DefaultOptionBuilder <B>optionBuilder</B></PRE><DL><DL></DL></DL><HR><A NAME="optionsGroup"><!-- --></A><H3>optionsGroup</H3><PRE>protected Group <B>optionsGroup</B></PRE><DL><DL></DL></DL><HR><A NAME="cmdLine"><!-- --></A><H3>cmdLine</H3><PRE>protected CommandLine <B>cmdLine</B></PRE><DL><DL></DL></DL><HR><A NAME="helpOpt"><!-- --></A><H3>helpOpt</H3><PRE>protected Option <B>helpOpt</B></PRE><DL><DL></DL></DL><HR><A NAME="priorityOpt"><!-- --></A><H3>priorityOpt</H3><PRE>protected DefaultOption <B>priorityOpt</B></PRE><DL><DL></DL></DL><HR><A NAME="priority"><!-- --></A><H3>priority</H3><PRE>protected int <B>priority</B></PRE><DL><DD>Default priority for the underlying <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Thread.html" title="class or interface in java.lang"><CODE>Thread</CODE></A>.<P><DL></DL></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -