public interface CompositeTerminable
Terminables, to be easily registered as one.
CompositeTerminables can be registered with CompositeTerminableConsumer.bindComposite(CompositeTerminable)| Modifier and Type | Method and Description |
|---|---|
default void |
bindWith(CompositeTerminableConsumer consumer)
Registers this terminable with a terminable consumer (usually the plugin instance)
|
void |
setup(TerminableConsumer consumer)
Binds this composite terminable with a terminable consumer
|
void setup(@Nonnull TerminableConsumer consumer)
consumer - the terminable consumerdefault void bindWith(@Nonnull CompositeTerminableConsumer consumer)
consumer - the terminable consumerCopyright © 2017. All rights reserved.