org.bidib.wizard.api.notification.ConnectionAction 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
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);
}
}