mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-19 03:39:18 +00:00
54 lines
998 B
Java
54 lines
998 B
Java
package mantle.pulsar.pulse;
|
|
|
|
/**
|
|
* Metadata wrapper for parsed @Pulse metadata.
|
|
*
|
|
* @author Arkan <[email protected]>
|
|
*/
|
|
public class PulseMeta
|
|
{
|
|
|
|
private String id, description;
|
|
|
|
private boolean forced, enabled, defaultEnabled;
|
|
|
|
public PulseMeta(String id, String description, boolean forced, boolean enabled, boolean defaultEnabled)
|
|
{
|
|
this.id = id;
|
|
this.description = description;
|
|
this.forced = forced;
|
|
this.enabled = enabled;
|
|
this.defaultEnabled = defaultEnabled;
|
|
}
|
|
|
|
public String getId()
|
|
{
|
|
return this.id;
|
|
}
|
|
|
|
public String getDescription()
|
|
{
|
|
return this.description;
|
|
}
|
|
|
|
public boolean isForced()
|
|
{
|
|
return this.forced;
|
|
}
|
|
|
|
public boolean isEnabled()
|
|
{
|
|
return this.enabled;
|
|
}
|
|
|
|
public void setEnabled(boolean enabled)
|
|
{
|
|
this.enabled = enabled;
|
|
}
|
|
|
|
public boolean isDefaultEnabled()
|
|
{
|
|
return this.defaultEnabled;
|
|
}
|
|
}
|