Skip to content

Commit c87cd9e

Browse files
fokioneddumelendez
authored andcommitted
Adding javadoc to pass the step
1 parent 78c8674 commit c87cd9e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,26 +83,47 @@ public DockerComposeContainer(DockerImageName image, String identifier, List<Fil
8383
this.project = this.composeDelegate.getProject();
8484
}
8585

86+
/**
87+
* @deprecated
88+
* Use the new constructor DockerComposeContainer(File composeFile, String identifier)
89+
*/
8690
@Deprecated
8791
public DockerComposeContainer(File composeFile, String identifier) {
8892
this(identifier, composeFile);
8993
}
9094

95+
/**
96+
* @deprecated
97+
* Use the new constructor DockerComposeContainer(File... composeFiles)
98+
*/
9199
@Deprecated
92100
public DockerComposeContainer(File... composeFiles) {
93101
this(Arrays.asList(composeFiles));
94102
}
95103

104+
/**
105+
* @deprecated
106+
* Use the new constructor DockerComposeContainer(List composeFiles)
107+
*/
96108
@Deprecated
97109
public DockerComposeContainer(List<File> composeFiles) {
98110
this(Base58.randomString(6).toLowerCase(), composeFiles);
99111
}
100112

113+
/**
114+
* @deprecated
115+
* Use the new constructor DockerComposeContainer(String identifier,File... composeFiles)
116+
*/
101117
@Deprecated
102118
public DockerComposeContainer(String identifier, File... composeFiles) {
103119
this(identifier, Arrays.asList(composeFiles));
104120
}
105121

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

0 commit comments

Comments
 (0)