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
()¶ 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.
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
()¶ Constructs entities, builds and starts the entities bundle jar
See also:
.generate()
regenerateMdsDataBundle¶
-
void
regenerateMdsDataBundle
(boolean startBundle)¶ Constructs entities, builds the entities bundle jar. The generated bundle will start only if the startBundle will be set to
true
.Parameters: - startBundle –
true
if the generated bundle should start; otherwisefalse
.
See also:
.generate()
- startBundle –
regenerateMdsDataBundleAfterDdeEnhancement¶
-
void
regenerateMdsDataBundleAfterDdeEnhancement
(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: - moduleNames – modules names of the entities from which the enhanced DDE comes from
See also:
.generate()