Annotation Interface Lang4jConfig.Model
- Enclosing class:
Lang4jConfig
public static @interface Lang4jConfig.Model
Add configuration for the given model.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Whether some config is required to active.Class
<?>
-
Element Details
-
kind
Class<?> kindThe kind of model.- Returns:
- The model kind.
-
impl
Class<?> implThe implementation of the model.- Returns:
- The implementation of the model.
-
exposed
Class<?> exposed- Returns:
- The exposed type
- Default:
void.class
-
defaultModelName
String defaultModelName- Returns:
- The model name to default to.
- Default:
""
-
configRequired
boolean configRequiredWhether some config is required to active.- Returns:
- True if some config is required
- Default:
false
-