JarGeneratorService¶
-
public interface
JarGeneratorService
¶ This interface provides methods to create a bundle jar with all entities defined in MDS module.
Fields¶
Methods¶
generate¶
-
File
generate
(SchemaHolder schemaHolder)¶ Generates a jar file that contains entity class definitions, repositories, interfaces, implementations of these interfaces. The jar should also contains class related with historical data and trash.
Parameters: - schemaHolder – the holder of the MDS that should be built
Throws: - IOException – if an I/O error occurs while creating the jar file.
Returns: file that points to the entities bundle jar.
regenerateMdsDataBundle¶
-
void
regenerateMdsDataBundle
(SchemaHolder schemaHolder)¶ Constructs entities, builds and starts the entities bundle jar
Parameters: - schemaHolder – the holder of the MDS that should be built
See also:
.generate(SchemaHolder)
regenerateMdsDataBundle¶
-
void
regenerateMdsDataBundle
(SchemaHolder schemaHolder, boolean startBundle)¶ Constructs entities, builds the entities bundle jar. The generated bundle will start only if the startBundle will be set to
true
.Parameters: - schemaHolder – the holder of the MDS that should be built
- startBundle –
true
if the generated bundle should start; otherwisefalse
.
See also:
.generate(SchemaHolder)
regenerateMdsDataBundleAfterDdeEnhancement¶
-
void
regenerateMdsDataBundleAfterDdeEnhancement
(SchemaHolder schemaHolder, String... moduleNames)¶ Constructs entities, builds and starts the entities bundle jar. This method should be used after DDE enhancement. It will build all DDE classes and refresh modules from which the DDE being enhanced comes from.
Parameters: - schemaHolder – the holder of the MDS that should be built
- moduleNames – modules names of the entities from which the enhanced DDE comes from
See also:
.generate(SchemaHolder)