Skip to content

Commit 6c23e41

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

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
@@ -87,26 +87,47 @@ public DockerComposeContainer(DockerImageName image, String identifier, List<Fil
8787
this.project = this.composeDelegate.getProject();
8888
}
8989

90+
/**
91+
* @deprecated
92+
* Use the new constructor DockerComposeContainer(File composeFile, String identifier)
93+
*/
9094
@Deprecated
9195
public DockerComposeContainer(File composeFile, String identifier) {
9296
this(identifier, composeFile);
9397
}
9498

99+
/**
100+
* @deprecated
101+
* Use the new constructor DockerComposeContainer(File... composeFiles)
102+
*/
95103
@Deprecated
96104
public DockerComposeContainer(File... composeFiles) {
97105
this(Arrays.asList(composeFiles));
98106
}
99107

108+
/**
109+
* @deprecated
110+
* Use the new constructor DockerComposeContainer(List composeFiles)
111+
*/
100112
@Deprecated
101113
public DockerComposeContainer(List<File> composeFiles) {
102114
this(Base58.randomString(6).toLowerCase(), composeFiles);
103115
}
104116

117+
/**
118+
* @deprecated
119+
* Use the new constructor DockerComposeContainer(String identifier,File... composeFiles)
120+
*/
105121
@Deprecated
106122
public DockerComposeContainer(String identifier, File... composeFiles) {
107123
this(identifier, Arrays.asList(composeFiles));
108124
}
109125

126+
127+
/**
128+
* @deprecated
129+
* Use the new constructor DockerComposeContainer(String identifier,List composeFiles)
130+
*/
110131
@Deprecated
111132
public DockerComposeContainer(String identifier, List<File> composeFiles) {
112133
this.composeDelegate =

0 commit comments

Comments
 (0)