public interface ModuleInfoCreatorRequest
Used to represent the parameters that feed into the code generation of a module-info file specifically for Pico in that
it offers easy ability to add the
Module as well as optionally the Application.-
Method Summary
Modifier and TypeMethodDescriptionbooleanSet to true if theApplicationshould be created.The PicoApplicationtype name.The class name prefix for the code generated class.The service type mapping to contracts for that service type.The service type mapping to external contracts for that service type.booleanSet to true if theModuleshould be created.Optionally, the path for where to access the module-info file.The modules required list.The PicoModuletype name.name()Optionally, the module name.
-
Method Details
-
name
Optionally, the module name. If not provided then an attempt will be made to calculate the suggested name.- Returns:
- module name
-
moduleTypeName
TypeName moduleTypeName()The PicoModuletype name.- Returns:
- Pico module type name
-
applicationTypeName
The PicoApplicationtype name.- Returns:
- application type name
-
moduleCreated
boolean moduleCreated()Set to true if theModuleshould be created.- Returns:
- true if the Pico Module should be created
-
applicationCreated
boolean applicationCreated()Set to true if theApplicationshould be created.- Returns:
- true if the Pico Application should be created
-
modulesRequired
The modules required list.- Returns:
- modules required
-
contracts
The service type mapping to contracts for that service type.- Returns:
- service type mapping to contracts
-
externalContracts
The service type mapping to external contracts for that service type.- Returns:
- service type mapping to external contracts
-
moduleInfoPath
Optionally, the path for where to access the module-info file.- Returns:
- module info path
-
classPrefixName
String classPrefixName()The class name prefix for the code generated class.- Returns:
- class name prefix
-