Package jadex.bdi.model
Class BDIEnhancer
java.lang.Object
jadex.bdi.model.BDIEnhancer
Helper class to enhance BDI classes at buildtime.
Needs access the the BDI and dependent classes.
Can be used as basis for custom build tool extensions (e.g. gradle task or maven plugin).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
enhanceBDIClasses
(String indir, String outdir) Enhance all BDI classes contained in a directory.static void
Main for testing.
-
Constructor Details
-
BDIEnhancer
public BDIEnhancer()
-
-
Method Details
-
enhanceBDIClasses
Enhance all BDI classes contained in a directory. If indir and outdir are the same (also outdir==null): - BDI classes are enhance in place and replace old classes. All other files are not changed. - Already enhanced BDI classes are detected and omitted. if outdir is different than indir: - BDI classes are enhanced and copied to the outdir. - All other files are copied without change to the outdir.- Parameters:
indir
- The input directory (is recursivly scanned for BDI classes).outdir
- The output directory (null for the same as indir).
-
main
Main for testing.- Throws:
Exception
-