You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit polishes the javadoc for Maven plugin classes now that
the plugin reference docs link to the javadoc. Visibility of some
MOJO parameter class getters and setters were also changed for
consistency.
See gh-21555
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Docker.java
+55-14
Original file line number
Diff line number
Diff line change
@@ -37,30 +37,47 @@ public class Docker {
37
37
38
38
privateDockerRegistrypublishRegistry;
39
39
40
+
/**
41
+
* The host address of the Docker daemon.
42
+
* @return the Docker host
43
+
*/
40
44
publicStringgetHost() {
41
45
returnthis.host;
42
46
}
43
47
44
-
publicvoidsetHost(Stringhost) {
48
+
voidsetHost(Stringhost) {
45
49
this.host = host;
46
50
}
47
51
52
+
/**
53
+
* Whether the Docker daemon requires TLS communication.
54
+
* @return {@code true} to enable TLS
55
+
*/
48
56
publicbooleanisTlsVerify() {
49
57
returnthis.tlsVerify;
50
58
}
51
59
52
-
publicvoidsetTlsVerify(booleantlsVerify) {
60
+
voidsetTlsVerify(booleantlsVerify) {
53
61
this.tlsVerify = tlsVerify;
54
62
}
55
63
64
+
/**
65
+
* The path to TLS certificate and key files required for TLS communication with the
66
+
* Docker daemon.
67
+
* @return the TLS certificate path
68
+
*/
56
69
publicStringgetCertPath() {
57
70
returnthis.certPath;
58
71
}
59
72
60
-
publicvoidsetCertPath(StringcertPath) {
73
+
voidsetCertPath(StringcertPath) {
61
74
this.certPath = certPath;
62
75
}
63
76
77
+
/**
78
+
* Configuration of the Docker registry where builder and run images are stored.
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Image.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ public PullPolicy getPullPolicy() {
0 commit comments