com.ullink.slack.simpleslackapi.impl.SlackReplyImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simpleslackapi-lib Show documentation
Show all versions of simpleslackapi-lib Show documentation
A simple API to build bot running on Slack
The newest version!
package com.ullink.slack.simpleslackapi.impl;
import com.ullink.slack.simpleslackapi.replies.ParsedSlackReply;
class SlackReplyImpl implements ParsedSlackReply
{
private boolean ok;
private String error;
SlackReplyImpl(boolean ok, String error)
{
this.ok = ok;
this.error = error;
}
@Override
public boolean isOk()
{
return ok;
}
@Override
public String getErrorMessage()
{
return error;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy