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 the jar is creating.
Returns: file that point to an entitites bundle jar.
regenerateMdsDataBundle¶
- void regenerateMdsDataBundle(boolean buildDDE)¶
Constructs entities, builds and starts the entities bundle jar
Parameters: - buildDDE – true if class definitions for entities from outside bundles should also be created; otherwise false.
See also: .generate()
regenerateMdsDataBundle¶
- void regenerateMdsDataBundle(boolean buildDDE, boolean startBundle)¶
Constructs entities, builds the entities bundle jar. The generated bundle will start only if the startBundle will be set to true.
Parameters: - buildDDE – true if class definitions for entities from outside bundles should also be created; otherwise false.
- startBundle – true if the generated bundle should start; otherwise false.
See also: .generate()
regenerateMdsDataBundleAfterDdeEnhancement¶
- void regenerateMdsDataBundleAfterDdeEnhancement(String moduleName)¶
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 the module from which the DDE being enhanced comes from.
Parameters: - moduleName – module name of the entity from which the enhanced DDE comes from
See also: .generate()