Class ModuleBuilder<B extends ModuleBuilder<B,​T>,​T extends Module>

  • Direct Known Subclasses:
    ActionBuilder, ConditionBuilder, TriggerBuilder

    @NonNullByDefault
    public abstract class ModuleBuilder<B extends ModuleBuilder<B,​T>,​T extends Module>
    extends Object
    This class allows the easy construction of a Module instance using the builder pattern.
    Author:
    Kai Kreuzer - Initial contribution, Markus Rathgeb - Split implementation for different module types in sub classes
    • Field Detail

      • label

        protected @Nullable String label
      • description

        protected @Nullable String description
    • Constructor Detail

      • ModuleBuilder

        protected ModuleBuilder()
      • ModuleBuilder

        protected ModuleBuilder​(T module)