org.silverpeas.process.management
Class AbstractFileProcessCheck

java.lang.Object
  extended by org.silverpeas.process.check.AbstractProcessCheck
      extended by 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

Constructor Summary
AbstractFileProcessCheck()
           
 
Method Summary
 void check(ProcessExecutionContext processExecutionProcess)
          Contains the treatment of the verification.
abstract  void checkFiles(ProcessExecutionContext processExecutionProcess, FileHandler fileHandler)
          Contains the treatment of the verification.
 ProcessCheckType getType()
          Gets the type of the check
 
Methods inherited from class org.silverpeas.process.check.AbstractProcessCheck
register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFileProcessCheck

public AbstractFileProcessCheck()
Method Detail

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.