/** * Creates a new instance of BaseWatchable */ protected BaseWatchable() { setStatus(Watchable.NOT_STARTED); }
/** * Creates a new instance of BaseWatchable */ protected BaseWatchable() { setStatus(Watchable.NOT_STARTED); }
/** * Stop this watchable. Stop will cause all processing to cease, * and the watchable to be destroyed. */ public void stop() { setStatus(Watchable.STOPPED); }
/** * Stop this watchable. Stop will cause all processing to cease, * and the watchable to be destroyed. */ public void stop() { setStatus(Watchable.STOPPED); }
/** * Stop this watchable. Stop will cause all processing to cease, * and the watchable to be destroyed. */ public void stop() { setStatus(Watchable.STOPPED); }
/** * Creates a new instance of BaseWatchable */ protected BaseWatchable() { setStatus(Watchable.NOT_STARTED); }
/** * Set an error on this watchable */ protected void setError(Exception error) { if (!SuppressSetErrorStackTrace) { error.printStackTrace(); } setStatus(Watchable.ERROR); }
/** * Set an error on this watchable */ protected void setError(Exception error) { if (!SuppressSetErrorStackTrace) { error.printStackTrace(); } setStatus(Watchable.ERROR); }
/** * Set an error on this watchable */ protected void setError(Exception error) { if (!SuppressSetErrorStackTrace) { error.printStackTrace(); } setStatus(Watchable.ERROR); }