de.eldoria.eldoutilities.debug.data.EntryData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of debugging Show documentation
Show all versions of debugging Show documentation
Utilitites for debugging plugins
/*
* 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