001package jmri;
002
003/**
004 * Factory class for Permission classes.
005 *
006 * @author Daniel Bergqvist (C) 2024
007 */
008public interface PermissionFactory {
009
010    /**
011     * Register the permissions that this factory provides.
012     * Note that the owner of the permissions must be registered before
013     * the permissions are registered.
014     * @param manager the permission manager
015     */
016    void register(PermissionManager manager);
017
018}