001package jmri.jmrit.logixng; 002 003import java.util.Map; 004import java.util.Set; 005 006import jmri.Category; 007 008/** 009 * Factory class for DigitalBooleanAction classes. 010 * 011 * @author Daniel Bergqvist Copyright 2018 012 */ 013public interface DigitalBooleanActionFactory { 014 015 /** 016 * Init the factory, for example create categories. 017 */ 018 default void init() {} 019 020 /** 021 * Get a set of classes that implements the DigitalBooleanAction interface. 022 * 023 * @return a set of entries with category and class 024 */ 025 public Set<Map.Entry<Category, Class<? extends Base>>> getClasses(); 026 027}