lacam.processes
Class DefaultAnalysis

java.lang.Object
  extended bylacam.processes.DefaultAnalysis
All Implemented Interfaces:
Analysis, Process

public class DefaultAnalysis
extends java.lang.Object
implements Analysis

This class pipes the history data coming from the modelmanager to the postprocessor without any manipulation.

Author:
Dimitrij Zub

Field Summary
 
Fields inherited from interface lacam.interfaces.Process
ANALYSIS, DATASOURCE, DATATARGET, MODELMANAGER, PARAMKEY_LANGUAGE_PACK, PARAMKEY_PLUGIN_NAME, POSTPROCESS, PREPROCESS, USERINTERFACE
 
Constructor Summary
DefaultAnalysis()
           
 
Method Summary
 void addHistory(java.lang.Object[] parameter)
          Adds the history (if any) to the analysis process
 void addProcessedData(java.lang.Object[] parameter)
          Adds the user processed data to the analysis process
 java.lang.Object[] analyse()
          Analyses the given data and returns the new data model
 void init(java.util.Properties parametermap)
          the initialisation of a process instance the described parameterlist will be given here
 void reinit()
          called, if a process threw the goBackException
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAnalysis

public DefaultAnalysis()
Method Detail

init

public void init(java.util.Properties parametermap)
Description copied from interface: Process
the initialisation of a process instance the described parameterlist will be given here

Specified by:
init in interface Process

addHistory

public void addHistory(java.lang.Object[] parameter)
Description copied from interface: Analysis
Adds the history (if any) to the analysis process

Specified by:
addHistory in interface Analysis
Parameters:
parameter - The Object[] containig the history (not processed data)

addProcessedData

public void addProcessedData(java.lang.Object[] parameter)
Description copied from interface: Analysis
Adds the user processed data to the analysis process

Specified by:
addProcessedData in interface Analysis
Parameters:
parameter - The Object[] containing the user processed data

analyse

public java.lang.Object[] analyse()
Description copied from interface: Analysis
Analyses the given data and returns the new data model

Specified by:
analyse in interface Analysis
Returns:
The analysed data

reinit

public void reinit()
Description copied from interface: Process
called, if a process threw the goBackException

Specified by:
reinit in interface Process