Class DirectoryChecker
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.plugins.core.impl.checker.DirectoryChecker
- All Implemented Interfaces:
ItemChecker
,Configurable
,LogEnabled
,Serviceable
public class DirectoryChecker
extends AbstractLogEnabled
implements Configurable, ItemChecker, Serviceable
Checks if the specified repository exists and optionally if the user has the writing rights
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks the validity of the parameters.void
configure
(Configuration configuration) void
service
(ServiceManager sManager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
DirectoryChecker
public DirectoryChecker()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
check
Description copied from interface:ItemChecker
Checks the validity of the parameters.- Specified by:
check
in interfaceItemChecker
- Parameters:
values
- the values to test- Throws:
ItemCheckerTestFailureException
- if the test failed
-