Class AbstractFileProcess<C extends ProcessExecutionContext>
- java.lang.Object
-
- org.silverpeas.core.process.AbstractProcess<C>
-
- org.silverpeas.core.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 ofAbstractProcess
oriented in the file system manipulations.- Author:
- Yohann Chastagnier
- See Also:
AbstractProcess
-
-
Constructor Summary
Constructors Constructor Description AbstractFileProcess()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ProcessType
getProcessType()
Gets the process typevoid
process(C processExecutionContext, ProcessSession session)
Containing main treatment of the process.abstract void
processFiles(C processExecutionContext, ProcessSession session, FileHandler fileHandler)
Containing main treatment of the process.-
Methods inherited from class org.silverpeas.core.process.AbstractProcess
onFailure, onSuccessful
-
-
-
-
Method Detail
-
getProcessType
public ProcessType getProcessType()
Description copied from interface:SilverpeasProcess
Gets the process type- Returns:
-
process
public final void process(C processExecutionContext, ProcessSession session) throws Exception
Description copied from interface:SilverpeasProcess
Containing main treatment of the process.- Throws:
Exception
-
processFiles
public abstract void processFiles(C processExecutionContext, ProcessSession session, FileHandler fileHandler) throws Exception
Containing main treatment of the process.- Parameters:
processExecutionContext
-session
-fileHandler
-- Throws:
Exception
-
-