47
47
public abstract class AbstractAotProcessor <T > {
48
48
49
49
/**
50
- * The name of a system property that is made available when the processor
51
- * runs.
50
+ * The name of a system property that is made available when the processor runs.
51
+ * @since 6.2
52
52
* @see #doProcess()
53
53
*/
54
- private static final String AOT_PROCESSING = "spring.aot.processing" ;
54
+ public static final String AOT_PROCESSING = "spring.aot.processing" ;
55
55
56
56
private final Settings settings ;
57
57
@@ -125,6 +125,7 @@ protected void writeHints(RuntimeHints hints) {
125
125
writer .write (hints );
126
126
}
127
127
128
+
128
129
/**
129
130
* Common settings for AOT processors.
130
131
*/
@@ -140,7 +141,6 @@ public static final class Settings {
140
141
141
142
private final String artifactId ;
142
143
143
-
144
144
private Settings (Path sourceOutput , Path resourceOutput , Path classOutput , String groupId , String artifactId ) {
145
145
this .sourceOutput = sourceOutput ;
146
146
this .resourceOutput = resourceOutput ;
@@ -149,15 +149,13 @@ private Settings(Path sourceOutput, Path resourceOutput, Path classOutput, Strin
149
149
this .artifactId = artifactId ;
150
150
}
151
151
152
-
153
152
/**
154
153
* Create a new {@link Builder} for {@link Settings}.
155
154
*/
156
155
public static Builder builder () {
157
156
return new Builder ();
158
157
}
159
158
160
-
161
159
/**
162
160
* Get the output directory for generated sources.
163
161
*/
@@ -214,12 +212,10 @@ public static final class Builder {
214
212
@ Nullable
215
213
private String artifactId ;
216
214
217
-
218
215
private Builder () {
219
216
// internal constructor
220
217
}
221
218
222
-
223
219
/**
224
220
* Set the output directory for generated sources.
225
221
* @param sourceOutput the location of generated sources
0 commit comments