org.silverpeas.process.management
Class AbstractFileProcess<C extends ProcessExecutionContext>

java.lang.Object
  extended by org.silverpeas.process.AbstractProcess<C>
      extended by org.silverpeas.process.management.AbstractFileProcess<C>
All Implemented Interfaces:
SilverpeasProcess<C>
Direct Known Subclasses:
SimulationElementConversionProcess

public abstract class AbstractFileProcess<C extends ProcessExecutionContext>
extends AbstractProcess<C>

Abstract extension of AbstractProcess oriented in the file system manipulations.

Author:
Yohann Chastagnier
See Also:
AbstractProcess

Constructor Summary
AbstractFileProcess()
           
 
Method Summary
 ProcessType getProcessType()
          Gets the process type
 void process(C processExecutionProcess, ProcessSession session)
          Containing main treatment of the process.
abstract  void processFiles(C processExecutionProcess, ProcessSession session, FileHandler fileHandler)
          Containing main treatment of the process.
 
Methods inherited from class org.silverpeas.process.AbstractProcess
onFailure, onSuccessful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFileProcess

public AbstractFileProcess()
Method Detail

getProcessType

public ProcessType getProcessType()
Description copied from interface: SilverpeasProcess
Gets the process type

Returns:

process

public final void process(C processExecutionProcess,
                          ProcessSession session)
                   throws Exception
Description copied from interface: SilverpeasProcess
Containing main treatment of the process.

Throws:
Exception

processFiles

public abstract void processFiles(C processExecutionProcess,
                                  ProcessSession session,
                                  FileHandler fileHandler)
                           throws Exception
Containing main treatment of the process.

Parameters:
processExecutionProcess -
session -
fileHandler -
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.