public class ALDClassInfo extends Object
| Constructor and Description |
|---|
ALDClassInfo() |
| Modifier and Type | Method and Description |
|---|---|
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 - Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.