public interface BlockHoundIntegration extends java.lang.Comparable<BlockHoundIntegration>
applyTo(BlockHound.Builder) will receive an instance
of the builder that is being installed.
One can override Comparable.compareTo(Object) to ensure the order in case
one needs to run an integration before or after another.| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(BlockHound.Builder builder)
Lets an integration apply the customizations (see
BlockHound.Builder)
before BlockHound is installed. |
default int |
compareTo(BlockHoundIntegration o) |
void applyTo(BlockHound.Builder builder)
BlockHound.Builder)
before BlockHound is installed.builder - an instance of BlockHound.Builder that is being installeddefault int compareTo(BlockHoundIntegration o)
compareTo in interface java.lang.Comparable<BlockHoundIntegration>