Package org.machanism.machai.ai.tools
Annotation Type SupportedFor
Indicates which application classes a
FunctionTools implementation supports.
Annotate a FunctionTools class with @SupportedFor to specify the set of application classes
(such as processors or providers) for which the tool is compatible. If the annotation is absent,
the tool is considered compatible with all application classes.
Usage Example
@SupportedFor({ MyProcessor.class, AnotherProcessor.class })
public class MyFunctionTools implements FunctionTools {
// ...
}
- Since:
- 1.2.0
- Author:
- Viktor Tovstyi
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<?>[]The set of application classes for which the annotatedFunctionToolsimplementation is compatible.
-
Element Details
-
value
Class<?>[] valueThe set of application classes for which the annotatedFunctionToolsimplementation is compatible.- Returns:
- array of supported application classes
-