Skip to content

Commit 1e80f8d

Browse files
committed
Adding javadoc to pass the step
1 parent 2dd3b3d commit 1e80f8d

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

core/src/main/java/org/testcontainers/containers/DockerComposeContainer.java

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,27 +86,44 @@ public DockerComposeContainer(DockerImageName image, String identifier, List<Fil
8686
new ComposeDelegate(ComposeDelegate.ComposeVersion.V1, composeFiles, identifier, COMPOSE_EXECUTABLE, image);
8787
this.project = this.composeDelegate.getProject();
8888
}
89-
89+
/**
90+
* @deprecated
91+
* Use the new constructor DockerComposeContainer(File composeFile, String identifier)
92+
*/
9093
@Deprecated
9194
public DockerComposeContainer(File composeFile, String identifier) {
9295
this(identifier, composeFile);
9396
}
94-
97+
/**
98+
* @deprecated
99+
* Use the new constructor DockerComposeContainer(File... composeFiles)
100+
*/
95101
@Deprecated
96102
public DockerComposeContainer(File... composeFiles) {
97103
this(Arrays.asList(composeFiles));
98104
}
99-
105+
/**
106+
* @deprecated
107+
* Use the new constructor DockerComposeContainer(List composeFiles)
108+
*/
100109
@Deprecated
101110
public DockerComposeContainer(List<File> composeFiles) {
102111
this(Base58.randomString(6).toLowerCase(), composeFiles);
103112
}
104-
113+
/**
114+
* @deprecated
115+
* Use the new constructor DockerComposeContainer(String identifier,File... composeFiles)
116+
*/
105117
@Deprecated
106118
public DockerComposeContainer(String identifier, File... composeFiles) {
107119
this(identifier, Arrays.asList(composeFiles));
108120
}
109121

122+
123+
/**
124+
* @deprecated
125+
* Use the new constructor DockerComposeContainer(String identifier,List composeFiles)
126+
*/
110127
@Deprecated
111128
public DockerComposeContainer(String identifier, List<File> composeFiles) {
112129
this.composeDelegate =

0 commit comments

Comments
 (0)