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

de.eldoria.eldoutilities.debug.data.EntryData Maven / Gradle / Ivy

There is a newer version: 2.1.7
Show newest version
/*
 *     SPDX-License-Identifier: LGPL-3.0-or-later
 *
 *     Copyright (C) EldoriaRPG Team and Contributor
 */

package de.eldoria.eldoutilities.debug.data;

import de.eldoria.eldoutilities.debug.DebugSettings;

/**
 * Represents a entry in a debug log
 */
public class EntryData {
    protected String name;
    protected String content;

    /**
     * Create a new debug entry
     *
     * @param name    Name of debug entry. This is the name displayed on the web page
     * @param content content of the debug entry.
     */
    public EntryData(String name, String content) {
        this.name = name;
        this.content = content;
    }

    public void applyFilter(DebugSettings settings) {
        content = settings.applyFilter(content);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy