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

org.bidib.wizard.api.notification.ConnectionAction Maven / Gradle / Ivy

The newest version!
package org.bidib.wizard.api.notification;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.bidib.jbidibc.messages.helpers.Context;

public class ConnectionAction {

    private final String connectionId;

    private final String messageKey;

    private final Context context;

    public ConnectionAction(String connectionId, String messageKey, final Context context) {
        this.connectionId = connectionId;
        this.messageKey = messageKey;
        this.context = context;
    }

    public String getConnectionId() {
        return connectionId;
    }

    /**
     * @return the error
     */
    public String getMessageKey() {
        return messageKey;
    }

    /**
     * @return the context
     */
    public Context getContext() {
        return context;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy