Skip to content

Commit d6ffab2

Browse files
[ACC-2066] Rename container -> collection to avoid confusion with docker containers
1 parent 7d29178 commit d6ffab2

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

contentgrid-testcontainers-k3s-cilium/src/main/java/com/contentgrid/testcontainers/k3s/customizer/K3sContainerCustomizer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
public interface K3sContainerCustomizer {
99

1010
/**
11-
* Callback function that is called when the customizer is added to the container
12-
* @param customizers The customizers container
11+
* Callback function that is called when the customizer is added to the customizers collection
12+
* @param customizers The customizers collection
1313
*/
1414
default void onRegister(K3sContainerCustomizers customizers) {
1515

1616
}
1717

1818
/**
1919
* Callback function that is called when the customizer is reconfigured
20-
* @param customizers The customizers container
20+
* @param customizers The customizers collection
2121
*/
2222
default void onConfigure(K3sContainerCustomizers customizers) {
2323

contentgrid-testcontainers-k3s-cilium/src/main/java/com/contentgrid/testcontainers/k3s/customizer/K3sContainerCustomizers.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,30 @@
44
import java.util.function.UnaryOperator;
55

66
/**
7-
* Container for {@link K3sContainerCustomizer}s
7+
* A collection of {@link K3sContainerCustomizer}s
88
*/
99
public interface K3sContainerCustomizers {
1010

1111
/**
12-
* Registers customizers to the container
12+
* Registers customizers to this collection
1313
* Every class of customizer can only be registered once. Registering the same class of customizer multiple times is an error
1414
*
15-
* @param customizers The customizers to add to the container
15+
* @param customizers The customizers to add to the collection
1616
*/
1717
default K3sContainerCustomizers customize(K3sContainerCustomizer ...customizers) {
1818
return customize(Arrays.asList(customizers));
1919
}
2020

2121
/**
22-
* Registers customizers to the container
22+
* Registers customizers to this collection
2323
* Every class of customizer can only be registered once. Registering the same class of customizer multiple times is an error
2424
*
25-
* @param customizers The customizers to add to the container
25+
* @param customizers The customizers to add to the collection
2626
*/
2727
K3sContainerCustomizers customize(Iterable<? extends K3sContainerCustomizer> customizers);
2828

2929
/**
30-
* Configures a customizer in the container.
30+
* Configures a customizer in this collection
3131
* If the customizer of that type does not exist yet, it is created
3232
*
3333
* @param customizerClass The class of the customizer to configure (and create)

0 commit comments

Comments
 (0)