Skip to content

Commit a26e4f0

Browse files
author
Andrey Rusakov
committed
feat: GSMFP-41 Throw exception for missing javadoc when generating the docs
1 parent 5fd3c02 commit a26e4f0

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

Diff for: core/src/main/java/org/mapfish/print/config/Configuration.java

+2
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ public final File getDirectory() {
315315
return this.configurationFile.getAbsoluteFile().getParentFile();
316316
}
317317

318+
/** Sets the configuration file. */
318319
public final void setConfigurationFile(final File configurationFile) {
319320
this.configurationFile = configurationFile;
320321
}
@@ -692,6 +693,7 @@ public SmtpConfig getSmtp() {
692693
return smtp;
693694
}
694695

696+
/** Sets the smtp config. */
695697
public void setSmtp(final SmtpConfig smtp) {
696698
this.smtp = smtp;
697699
}

Diff for: core/src/main/java/org/mapfish/print/config/Template.java

+11
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ public final String getReportTemplate() {
147147
return this.reportTemplate;
148148
}
149149

150+
/** Sets the report template. */
150151
public final void setReportTemplate(final String reportTemplate) {
151152
this.reportTemplate = reportTemplate;
152153
}
@@ -184,38 +185,47 @@ public final void setTableData(final String tableData) {
184185
this.tableDataKey = tableData;
185186
}
186187

188+
/** Returns table data key. */
187189
public final String getTableDataKey() {
188190
return this.tableDataKey;
189191
}
190192

193+
/** Returns JDBC url. */
191194
public final String getJdbcUrl() {
192195
return this.jdbcUrl;
193196
}
194197

198+
/** Sets the JDBC url. */
195199
public final void setJdbcUrl(final String jdbcUrl) {
196200
this.jdbcUrl = jdbcUrl;
197201
}
198202

203+
/** Returns the JDBC drivers. */
199204
public final Set<String> getJdbcDrivers() {
200205
return this.jdbcDrivers;
201206
}
202207

208+
/** Sets the JDBC drivers. */
203209
public final void setJdbcDrivers(final Set<String> jdbcDrivers) {
204210
this.jdbcDrivers = jdbcDrivers;
205211
}
206212

213+
/** Returns the JDBC driver. */
207214
public final String getJdbcUser() {
208215
return this.jdbcUser;
209216
}
210217

218+
/** Sets the JDBC user. */
211219
public final void setJdbcUser(final String jdbcUser) {
212220
this.jdbcUser = jdbcUser;
213221
}
214222

223+
/** Gets the JDBC password. */
215224
public final String getJdbcPassword() {
216225
return this.jdbcPassword;
217226
}
218227

228+
/** Sets the JDBC password. */
219229
public final void setJdbcPassword(final String jdbcPassword) {
220230
this.jdbcPassword = jdbcPassword;
221231
}
@@ -387,6 +397,7 @@ public final boolean isMapExport() {
387397
return this.mapExport;
388398
}
389399

400+
/** Sets the map export. */
390401
public final void setMapExport(final boolean mapExport) {
391402
this.mapExport = mapExport;
392403
}

Diff for: core/src/main/java/org/mapfish/print/map/geotools/AbstractFeatureSourceLayerPlugin.java

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public Style load(
8383
};
8484
}
8585

86+
/** Sets the style parser for this feature source layer. */
8687
public final void setParser(final StyleParser parser) {
8788
this.parser = parser;
8889
}

Diff for: core/src/main/java/org/mapfish/print/processor/http/matcher/HostMatcher.java

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public final boolean matches(final MatchInfo matchInfo)
5353
protected abstract Optional<Boolean> tryOverrideValidation(MatchInfo matchInfo)
5454
throws UnknownHostException, SocketException, MalformedURLException;
5555

56+
/** Port of this host matcher. */
5657
public final void setPort(final int port) {
5758
this.port = port;
5859
}

Diff for: docs/src/main/groovy/Javadoc7Parser.groovy

+2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ class Javadoc7Parser {
5858
throw new IllegalArgumentException(errorHandler(obj, objectName))
5959
}
6060
} else {
61+
System.out.printf("HERE-MISS: %s\n", errorHandler(obj, objectName))
6162
return ""
63+
//throw new IllegalArgumentException(errorHandler(obj, objectName))
6264
}
6365
}
6466
}

0 commit comments

Comments
 (0)