public class ALDClassInfo extends Object
Modifier and Type | Field and Description |
---|---|
private static boolean |
debug
Debug flag for internal usage only.
|
Constructor and Description |
---|
ALDClassInfo() |
Modifier and Type | Method and Description |
---|---|
private static Collection<String> |
getOperatorSearchPaths() |
static Set<Class> |
lookupExtendingClasses(Class cl)
Collects all derived class of given class.
|
static Set<String> |
lookupOperatorClassnames(ALDAOperator.Level level,
ALDAOperator.ExecutionMode executionMode)
Collects all ALDOperators annotated with the requested level and execution mode
and all ALDOperators found in a package specified by a JVM property alida_oprunner_favoriteops or
the environment variable ALIDA_OPRUNNER_OPERATORPATH as a colon separated list of package names.
|
static Collection<ALDOperatorLocation> |
lookupOperators(ALDAOperator.Level level,
ALDAOperator.ExecutionMode executionMode)
Collects all ALDOperators annotated with the requested level and execution mode
and all ALDOperators found in a package specified by a JVM property alida_oprunner_favoriteops or
the environment variable ALIDA_OPRUNNER_OPERATORPATH as a colon separated list of package names.
|
public static Set<Class> lookupExtendingClasses(Class cl)
The method searches for all derived classes of the given class among all classes annotated with @ALDDerivedClass that are found in the classpath. In this context derived classes are classes which either implement the specified interface or extend the given class.
cl
- Class for which derived classes are requested.public static Collection<ALDOperatorLocation> lookupOperators(ALDAOperator.Level level, ALDAOperator.ExecutionMode executionMode)
If level
is Level.APPLICATION
then
only operators with this level will be return.
If level
is Level.STANDARD
all operator levels are accepted.
level
- Class for which derived classes are requested.public static Set<String> lookupOperatorClassnames(ALDAOperator.Level level, ALDAOperator.ExecutionMode executionMode)
If level
is Level.APPLICATION
then
only operators with this level will be return.
If level
is Level.STANDARD
all operator levels are accepted.
level
- executionMode
- private static Collection<String> getOperatorSearchPaths()
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.