org.testcontainers.images.builder.dockerfile.traits.VolumeStatementTrait Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testcontainers Show documentation
Show all versions of testcontainers Show documentation
Isolated container management for Java code testing
package org.testcontainers.images.builder.dockerfile.traits;
import org.testcontainers.images.builder.dockerfile.statement.MultiArgsStatement;
public interface VolumeStatementTrait & DockerfileBuilderTrait> {
default SELF volume(String... volumes) {
return ((SELF) this).withStatement(new MultiArgsStatement("VOLUME", volumes));
}
}