org.bidib.wizard.api.event.MacroChangedEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bidibwizard-api Show documentation
Show all versions of bidibwizard-api Show documentation
jBiDiB BiDiB Wizard API POM
package org.bidib.wizard.api.event;
import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
public class MacroChangedEvent implements Serializable {
private static final long serialVersionUID = 1L;
private final long uniqueId;
private final Integer macroId;
public MacroChangedEvent(long uniqueId) {
this(uniqueId, null);
}
public MacroChangedEvent(long uniqueId, Integer macroId) {
this.uniqueId = uniqueId;
this.macroId = macroId;
}
public long getUniqueId() {
return uniqueId;
}
public Integer getMacroId() {
return macroId;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
}