Package elki.application.internal
Class CheckELKIServices
- java.lang.Object
-
- elki.application.internal.CheckELKIServices
-
public class CheckELKIServices extends java.lang.Object
Helper application to test the ELKI service properties files for missing implementation entries, for listing available implementations in the UIs.- Since:
- 0.2
- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description CheckELKIServices()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
checkAliases(java.lang.Class<?> parent, java.lang.String classname, java.lang.String[] parts)
Check if aliases are listed completely.private void
checkService(java.lang.String prop, java.lang.String update)
Check a single service classvoid
checkServices(java.lang.String update)
Retrieve all properties and check them.static void
main(java.lang.String[] argv)
Main method.
-
-
-
Field Detail
-
LOG
private static final Logging LOG
The logger for this class.
-
STRIP
private static final java.util.regex.Pattern STRIP
Pattern to strip comments, while keeping commented class names.
-
-
Method Detail
-
main
public static void main(java.lang.String[] argv)
Main method.- Parameters:
argv
- Command line arguments
-
checkServices
public void checkServices(java.lang.String update)
Retrieve all properties and check them.- Parameters:
update
- Folder to update service files in
-
checkService
private void checkService(java.lang.String prop, java.lang.String update)
Check a single service class- Parameters:
prop
- Class name.update
- Folder to update service files in
-
checkAliases
private void checkAliases(java.lang.Class<?> parent, java.lang.String classname, java.lang.String[] parts)
Check if aliases are listed completely.- Parameters:
parent
- Parent classclassname
- Class nameparts
- Splitted service line
-
-