com.ikokoon.serenity.process
Class Pruner

java.lang.Object
  extended by com.ikokoon.serenity.process.AProcess
      extended by com.ikokoon.serenity.process.Pruner
All Implemented Interfaces:
IConstants, IProcess

public class Pruner
extends AProcess
implements IConstants

This class removes the lines and the efferent and afferent from the model as we will not need them further and they form a very large part of the model which hogs memory.

Since:
10.01.10
Version:
01.00
Author:
Michael Couck

Field Summary
 
Fields inherited from interface com.ikokoon.serenity.IConstants
CLEAN_CLASSES, COMPLEXITY, COVERAGE, DATABASE_FILE_JPA, DATABASE_FILE_ODB, DATABASE_FILE_RAM, DEPENDENCY, EXCLUDED_PACKAGES_PROPERTY, INCLUDED_ADAPTERS_PROPERTY, INCLUDED_JARS_PROPERTY, INCLUDED_PACKAGES_PROPERTY, JAVA_CLASS_PATH, LOG_4_J_PROPERTIES, PROFILING, SERENITY, SERENITY_DIRECTORY, SERENITY_JPA, SERENITY_ODB, SERENITY_PERSISTENCE_UNIT, SERENITY_RAM, SERENITY_SOURCE, SERENITY_SOURCE_DIRECTORY, SOURCE, SUREFIRE_TEST_CLASS_PATH, WRITE_CLASSES
 
Constructor Summary
Pruner(IProcess parent, IDataBase dataBase)
          Constructor takes the parent.
 
Method Summary
 void execute()
          This is the method that executes the logic for the process.
 
Methods inherited from class com.ikokoon.serenity.process.AProcess
setChild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pruner

public Pruner(IProcess parent,
              IDataBase dataBase)
Constructor takes the parent.

Parameters:
parent - the parent process that will chain this process
Method Detail

execute

public void execute()
This is the method that executes the logic for the process. It will be called by the parent after the parent has executed it's own logic.

Specified by:
execute in interface IProcess
Overrides:
execute in class AProcess
See Also:
AProcess


Copyright © 2010. All Rights Reserved.