public enum BasePlugin extends Enum<BasePlugin> implements SystemPlugin<BaseState.Mutable>
BaseState. Another plugin can be used to initialise the base state if it
returns an implementation of BasePlugin.BaseConfiguration.| Modifier and Type | Class and Description |
|---|---|
static interface |
BasePlugin.BaseConfiguration
Base context to initialise base state.
|
Plugin.Configuration, Plugin.Dependency<P>, Plugin.NullState| Enum Constant and Description |
|---|
INSTANCE |
NO_DEPENDENCIES, NO_INPUTS, STATE_UNAWARE| Modifier and Type | Method and Description |
|---|---|
BasePlugin.BaseConfiguration |
configuration(Configuration appConfig,
BaseState.Mutable baseState) |
BaseState.Mutable |
defaultPluginState() |
TypeRange |
typeRange() |
static BasePlugin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BasePlugin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfdependenciespublic static final BasePlugin INSTANCE
public static BasePlugin[] values()
for (BasePlugin c : BasePlugin.values()) System.out.println(c);
public static BasePlugin valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic BaseState.Mutable defaultPluginState()
defaultPluginState in interface Plugin<BaseState.Mutable>public BasePlugin.BaseConfiguration configuration(Configuration appConfig, BaseState.Mutable baseState)
configuration in interface Plugin<BaseState.Mutable>public TypeRange typeRange()
typeRange in interface SystemPlugin<BaseState.Mutable>Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.