org.silverpeas.process.management
Class AbstractFileProcessCheck
java.lang.Object
org.silverpeas.process.check.AbstractProcessCheck
org.silverpeas.process.management.AbstractFileProcessCheck
- All Implemented Interfaces:
- ProcessCheck
- Direct Known Subclasses:
- ComponentFileFilterProcessCheck, DataStorageQuotaProcessCheck
public abstract class AbstractFileProcessCheck
- extends AbstractProcessCheck
Abstract extension of AbstractProcessCheck
oriented on file system verifications.
- Author:
- Yohann Chastagnier
- See Also:
AbstractProcessCheck
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFileProcessCheck
public AbstractFileProcessCheck()
getType
public ProcessCheckType getType()
- Description copied from interface:
ProcessCheck
- Gets the type of the check
- Returns:
check
public final void check(ProcessExecutionContext processExecutionProcess)
throws Exception
- Description copied from interface:
ProcessCheck
- Contains the treatment of the verification.
- Throws:
Exception
checkFiles
public abstract void checkFiles(ProcessExecutionContext processExecutionProcess,
FileHandler fileHandler)
throws Exception
- Contains the treatment of the verification. The file handler (@see
FileHandler
)
associated to the current execution of chained Silverpeas processes is passed.
- Parameters:
processExecutionProcess
- fileHandler
-
- Throws:
Exception
Copyright © 2016 Silverpeas. All Rights Reserved.