public interface Startable
Modifier and Type | Interface and Description |
---|---|
static interface |
Startable.StartAutomaton
The
Startable.StartAutomaton interface defines those methods related to the
start life-cycle. |
static interface |
Startable.StartBuilder<B extends Startable.StartBuilder<B>>
To enable the
Startable functionality to be invoked in a builder
chain. |
static interface |
Startable.UncheckedStartable
See
Startable without any checked exception being declared. |
Modifier and Type | Method and Description |
---|---|
void |
start()
Starts the component.
|
default void |
startUnchecked()
Starts the component by calling
start() without you to require
catching an StartException . |
void start() throws StartException
StartException
- Thrown in case starting fails.default void startUnchecked()
start()
without you to require
catching an StartException
.org.refcodes.exception.HiddenException
- encapsulates the cause and is thrown upon
encountering a StartException
exceptionCopyright © 2018. All rights reserved.