/[svn]/jsampler/trunk/src/org/jsampler/task/EnhancedTask.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/task/EnhancedTask.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1785 by iliev, Thu May 24 21:43:45 2007 UTC revision 1786 by iliev, Wed Oct 8 22:38:15 2008 UTC
# Line 33  import org.linuxsampler.lscp.LSException Line 33  import org.linuxsampler.lscp.LSException
33   */   */
34  public abstract class EnhancedTask<R> extends AbstractTask<R> {  public abstract class EnhancedTask<R> extends AbstractTask<R> {
35          private boolean stopped = false;          private boolean stopped = false;
36            private boolean silent = false;
37                    
38          /**          /**
39           * Marks that the execution of this task was interrupted.           * Marks that the execution of this task was interrupted.
# Line 49  public abstract class EnhancedTask<R> ex Line 50  public abstract class EnhancedTask<R> ex
50          isStopped() { return stopped; }          isStopped() { return stopped; }
51                    
52          /**          /**
53             * Determines whether an error message should be shown
54             * if the execution of the task fail.
55             */
56            public boolean
57            isSilent() { return silent; }
58            
59            /**
60             * DSets whether an error message should be shown
61             * if the execution of the task fail.
62             */
63            public void
64            setSilent(boolean b) { silent = b; }
65            
66            /**
67           * Sets the error details provided by the given exception (if the given           * Sets the error details provided by the given exception (if the given
68           * exception is <code>LSException</code> instance and contains error details).           * exception is <code>LSException</code> instance and contains error details).
69           */           */

Legend:
Removed from v.1785  
changed lines
  Added in v.1786

  ViewVC Help
Powered by ViewVC