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

org.bidib.wizard.api.event.MacroChangedEvent Maven / Gradle / Ivy

There is a newer version: 2.0.29
Show newest version
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);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy