Package com.jalios.jcms.tools
Class RightPolicyFilterChecker
- java.lang.Object
-
- com.jalios.jcms.tools.AbstractChecker
-
- com.jalios.jcms.tools.RightPolicyFilterChecker
-
public class RightPolicyFilterChecker extends AbstractChecker
Check RightPolicyFilter implementations against obvious coding error.- Since:
- JCMS-10377
-
-
Field Summary
-
Fields inherited from class com.jalios.jcms.tools.AbstractChecker
CHANNEL, PROP_SUFFIX_FILE_FILTER
-
-
Constructor Summary
Constructors Constructor Description RightPolicyFilterChecker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CheckResult
checkAllRPFs()
Find all RightPolicyFilter in current class path, and check them for possible issues.static CheckResult
checkRPFs(java.util.List<java.lang.Class<? extends RightPolicyFilter>> rpfClassList)
Check all RightPolicyFilter specified and check them for possible issues.-
Methods inherited from class com.jalios.jcms.tools.AbstractChecker
getCheckedFile, getFileList, getFileList, loadLanguageProperties, loadProperties, loadProperties, saveError
-
-
-
-
Method Detail
-
checkAllRPFs
public static CheckResult checkAllRPFs()
Find all RightPolicyFilter in current class path, and check them for possible issues.- Returns:
- a CheckResult instance (never return null)
-
checkRPFs
public static CheckResult checkRPFs(java.util.List<java.lang.Class<? extends RightPolicyFilter>> rpfClassList)
Check all RightPolicyFilter specified and check them for possible issues.- Returns:
- a CheckResult instance (never return null)
-
-