Package de.wuespace.telestion.api.verticle
package de.wuespace.telestion.api.verticle
Telestion API - Telestion Verticle
This package contains different classes helping with Vert.x verticles by providing commonly used methods which help to improve the developer experience by massively reducing boiler-plate code.Usage
Verticles within a Telestion Project should extendTelestionVerticle
.
It provides different core functionality like more clean start() and stop() methods.
A Verticle usually needs an implementation of TelestionConfiguration
. They must be created manually - the convention is to create a Record
in the same class called Configuration. By inferring the generics of the
TelestionVerticle
with this Configuration
, the loading code for
configurations gets reduced massively.
When using no Configuration
it is recommended to use GenericConfiguration
which is telling the implementation, that a configuration is not needed.
By implementing traits
the functionality of the
TelestionVerticle
can be increased even more.
Examples
For examples refer to thede.wuespace.telestion.example-package
.
(c) WueSpace e.V.
- See Also:
de.wuespace.telestion.api
,de.wuespace.telestion.api.verticle.trait
-
Interface SummaryInterfaceDescriptionThe base class for all Telestion Verticle configurations.
-
Class SummaryClassDescriptionDeprecated.The type of configuration for a
TelestionVerticle
that you use to indicate that the verticle doesn't accept any configuration.TelestionVerticle<T extends TelestionConfiguration>An abstract verticle class that you can extend to write your own verticle classes.The type of configuration for aTelestionVerticle
that you use to indicate that the verticle does not have a strictly typed configuration.
UntypedConfiguration
to indicate generic, untyped configuration orNoConfiguration
to indicate no configuration options instead.