File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
tooling/hibernate-maven-plugin/src/main/java/org/hibernate/orm/tooling/maven Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -33,33 +33,57 @@ public class HibernateEnhancerMojo extends AbstractMojo {
33
33
final private List <File > sourceSet = new ArrayList <File >();
34
34
private Enhancer enhancer ;
35
35
36
+ /**
37
+ * A list of FileSets in which to look for classes to enhance.
38
+ * This parameter is optional but if it is specified, the 'classesDirectory' parameter is ignored.
39
+ */
36
40
@ Parameter
37
41
private FileSet [] fileSets ;
38
42
43
+ /**
44
+ * The folder in which to look for classes to enhance.
45
+ * This parameter is required but if the 'fileSets' parameter is specified, it will be ignored.
46
+ */
39
47
@ Parameter (
40
48
defaultValue = "${project.build.directory}/classes" ,
41
49
required = true )
42
50
private File classesDirectory ;
43
51
52
+ /**
53
+ * A boolean that indicates whether or not to add association management to automatically
54
+ * synchronize a bidirectional association when only one side is changed
55
+ */
44
56
@ Parameter (
45
57
defaultValue = "false" ,
46
58
required = true )
47
59
private boolean enableAssociationManagement ;
48
60
61
+ /**
62
+ * A boolean that indicates whether or not to add dirty tracking
63
+ * @deprecated <a href="https://hibernate.atlassian.net/browse/HHH-15641">See HHH-15641</a>
64
+ */
49
65
@ Deprecated (
50
66
forRemoval = true )
51
67
@ Parameter (
52
68
defaultValue = "true" ,
53
69
required = true )
54
70
private boolean enableDirtyTracking ;
55
71
72
+ /**
73
+ * A boolean that indicates whether or not to add lazy initialization
74
+ * @deprecated <a href="https://hibernate.atlassian.net/browse/HHH-15641">See HHH-15641</a>
75
+ */
56
76
@ Deprecated (
57
77
forRemoval = true )
58
78
@ Parameter (
59
79
defaultValue = "true" ,
60
80
required = true )
61
81
private boolean enableLazyInitialization ;
62
82
83
+ /**
84
+ * A boolean that indicates whether or not to add extended enhancement.
85
+ * This setting will provide bytecode enhancement, even for non-entity classes
86
+ */
63
87
@ Parameter (
64
88
defaultValue = "false" ,
65
89
required = true )
You can’t perform that action at this time.
0 commit comments