public interface SeedTool extends Callable<Integer>, io.nuun.kernel.api.Plugin
Plugin
to declare itself as providing a SeedStack tool.
Implementations must be declared as a ServiceLoader
service in META-INF/services to be detected.Modifier and Type | Interface and Description |
---|---|
static class |
SeedTool.StartMode
The start mode of a SeedStack tool.
|
Modifier and Type | Method and Description |
---|---|
Collection<Class<?>> |
pluginsToLoad()
Returns the plugins to load.
|
SeedTool.StartMode |
startMode()
Determines the start mode.
|
String |
toolName()
Returns the unique name of the tool.
|
bindingRequests, classpathScanRequests, computeAdditionalClasspathScan, dependencyInjectionProvider, dependentPlugins, description, init, kernelParametersAliases, kernelParamsRequests, name, overridingUnitModule, pluginPackageRoot, pluginPropertiesPrefix, provideContainerContext, provideRound, requiredPlugins, rootPackages, start, stop, unitModule
String toolName()
SeedTool.StartMode startMode()
pluginsToLoad()
method.pluginsToLoad()
method will also be loaded.Collection<Class<?>> pluginsToLoad()
Copyright © 2013-2018–2019 SeedStack. All rights reserved.