001package net.tnemc.plugincore.core.component;
002/*
003 * The New Plugin Core
004 * Copyright (C) 2022 - 2025 Daniel "creatorfromhell" Vidmar
005 *
006 * This program is free software: you can redistribute it and/or modify
007 * it under the terms of the GNU Affero General Public License as published by
008 * the Free Software Foundation, either version 3 of the License, or
009 * (at your option) any later version.
010 *
011 * This program is distributed in the hope that it will be useful,
012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
014 * GNU Affero General Public License for more details.
015 *
016 * You should have received a copy of the GNU Affero General Public License
017 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
018 */
019
020/**
021 * ComponentBuilder
022 *
023 * @author creatorfromhell
024 * @since 1.0.0.2
025 */
026public interface ComponentBuilder {
027
028  /**
029   * Returns the identifier of the component.
030   *
031   * @return the identifier of the component as a string.
032   */
033  String identifier();
034
035  /**
036   * Returns a component builder instance that can be used to build components.
037   *
038   * @return a ComponentBuilder instance.
039   */
040  ComponentBuilder builder();
041}