package org.bukkit.craftbukkit.v1_17_R1.help;

/**
 * A HelpTopicAmendment represents the contents of a topic amendment from the help.yml
 */
public class HelpTopicAmendment {
    private final String topicName;
    private final String shortText;
    private final String fullText;
    private final String permission;

    public HelpTopicAmendment(String topicName, String shortText, String fullText, String permission) {
        this.fullText = fullText;
        this.shortText = shortText;
        this.topicName = topicName;
        this.permission = permission;
    }

    /**
     * Gets the amended full text
     * @return the full text
     */
    public String getFullText() {
        return this.fullText;
    }

    /**
     * Gets the amended short text
     * @return the short text
     */
    public String getShortText() {
        return this.shortText;
    }

    /**
     * Gets the name of the topic being amended
     * @return the topic name
     */
    public String getTopicName() {
        return this.topicName;
    }

    /**
     * Gets the amended permission
     * @return the permission
     */
    public String getPermission() {
        return this.permission;
    }
}
