Class ModelSecurityExtractor
java.lang.Object
nl.datasteel.crudcraft.codegen.reader.model.ModelSecurityExtractor
- All Implemented Interfaces:
ModelPartExtractor<ModelSecurity>
Singleton extractor for
ModelSecurity
.
Extracts ModelSecurity
configuration from a model.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ModelSecurityExtractor
Singleton instance of ModelSecurityExtractor. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextract
(TypeElement cls, ProcessingEnvironment env) Extracts security configuration from the given model class.
-
Field Details
-
INSTANCE
Singleton instance of ModelSecurityExtractor.
-
-
Constructor Details
-
ModelSecurityExtractor
public ModelSecurityExtractor()
-
-
Method Details
-
extract
Extracts security configuration from the given model class.- Specified by:
extract
in interfaceModelPartExtractor<ModelSecurity>
- Parameters:
cls
- the TypeElement representing the model classenv
- processing environment for annotation utilities- Returns:
- a ModelSecurity object containing the extracted security configuration
-