org.testcontainers.containers.output.BaseConsumer 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.containers.output;
import lombok.Getter;
import lombok.Setter;
import java.util.function.Consumer;
public abstract class BaseConsumer> implements Consumer {
@Getter
@Setter
private boolean removeColorCodes = true;
public SELF withRemoveAnsiCodes(boolean removeAnsiCodes) {
this.removeColorCodes = removeAnsiCodes;
return (SELF) this;
}
}