All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.mattstudios.mfmsg.base.internal.component.MessageLine Maven / Gradle / Ivy

There is a newer version: 1.1.5
Show newest version
package me.mattstudios.mfmsg.base.internal.component;

import org.jetbrains.annotations.NotNull;

import java.util.List;

/**
 * Stores the message lines
 */
public final class MessageLine {

    @NotNull
    private final List parts;

    /**
     * Main constructor to add all the parts
     *
     * @param parts The {@link MessagePart}s to add to the line
     */
    public MessageLine(@NotNull final List parts) {
        this.parts = parts;
    }

    /**
     * Gets all the parts in the current line
     *
     * @return The {@link MessagePart}s of the line
     */
    @NotNull
    public List getParts() {
        return parts;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy