MOA 12.03
Real Time Analytics for Data Streams
NullMonitor.java
Go to the documentation of this file.
00001 /*
00002  *    NullMonitor.java
00003  *    Copyright (C) 2007 University of Waikato, Hamilton, New Zealand
00004  *    @author Richard Kirkby (rkirkby@cs.waikato.ac.nz)
00005  *
00006  *    This program is free software; you can redistribute it and/or modify
00007  *    it under the terms of the GNU General Public License as published by
00008  *    the Free Software Foundation; either version 3 of the License, or
00009  *    (at your option) any later version.
00010  *
00011  *    This program is distributed in the hope that it will be useful,
00012  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *    GNU General Public License for more details.
00015  *
00016  *    You should have received a copy of the GNU General Public License
00017  *    along with this program. If not, see <http://www.gnu.org/licenses/>.
00018  *    
00019  */
00020 package moa.tasks;
00021 
00028 public class NullMonitor implements TaskMonitor {
00029 
00030     @Override
00031     public void setCurrentActivity(String activityDescription,
00032             double fracComplete) {
00033     }
00034 
00035     @Override
00036     public void setCurrentActivityDescription(String activity) {
00037     }
00038 
00039     @Override
00040     public void setCurrentActivityFractionComplete(double fracComplete) {
00041     }
00042 
00043     @Override
00044     public boolean taskShouldAbort() {
00045         return false;
00046     }
00047 
00048     @Override
00049     public String getCurrentActivityDescription() {
00050         return null;
00051     }
00052 
00053     @Override
00054     public double getCurrentActivityFractionComplete() {
00055         return -1.0;
00056     }
00057 
00058     @Override
00059     public boolean isPaused() {
00060         return false;
00061     }
00062 
00063     @Override
00064     public boolean isCancelled() {
00065         return false;
00066     }
00067 
00068     @Override
00069     public void requestCancel() {
00070     }
00071 
00072     @Override
00073     public void requestPause() {
00074     }
00075 
00076     @Override
00077     public void requestResume() {
00078     }
00079 
00080     @Override
00081     public Object getLatestResultPreview() {
00082         return null;
00083     }
00084 
00085     @Override
00086     public void requestResultPreview() {
00087     }
00088 
00089     @Override
00090     public boolean resultPreviewRequested() {
00091         return false;
00092     }
00093 
00094     @Override
00095     public void setLatestResultPreview(Object latestPreview) {
00096     }
00097 
00098     @Override
00099     public void requestResultPreview(ResultPreviewListener toInform) {
00100     }
00101 }
 All Classes Namespaces Files Functions Variables Enumerations