pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.statistics.aggregator.task
Class SampleTask

java.lang.Object
  extended by org.torweg.pulse.component.statistics.aggregator.task.SampleTask
All Implemented Interfaces:
IPreAggregationAndOrPostAggregationTask, IPreRunAndOrPostRunTask

public final class SampleTask
extends java.lang.Object
implements IPreAggregationAndOrPostAggregationTask, IPreRunAndOrPostRunTask

A sample IPreAggregationAndOrPostAggregationTask and IPreRunAndOrPostRunTask. Simply produces LOG file output.

Version:
$Revision: 1571 $
Author:
Daniel Dietz

Constructor Summary
SampleTask()
           
 
Method Summary
 void execute(TaskExecutionMode mode, DataAggregationJobletConfiguration config, Bundle bundle)
          Produces only LOG file output.
 void execute(TaskExecutionMode mode, StatisticsServer statisticsServer, DataAggregationJobletConfiguration config, Bundle bundle)
          Produces only LOG file output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleTask

public SampleTask()
Method Detail

execute

public void execute(TaskExecutionMode mode, StatisticsServer statisticsServer, DataAggregationJobletConfiguration config, Bundle bundle)
Produces only LOG file output.

Specified by:
execute in interface IPreAggregationAndOrPostAggregationTask
Parameters:
mode - the current TaskExecutionMode
statisticsServer - the current StatisticsServer
config - the DataAggregationJobletConfiguration
bundle - the current Bundle, e.g. for retrieving a Configuration

execute

public void execute(TaskExecutionMode mode, DataAggregationJobletConfiguration config, Bundle bundle)
Produces only LOG file output.

Specified by:
execute in interface IPreRunAndOrPostRunTask
Parameters:
mode - the current TaskExecutionMode
config - the DataAggregationJobletConfiguration
bundle - the current Bundle, e.g. for retrieving a Configuration