com.rabidgremlin.mutters.state.State Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mutters-statemachine-bot Show documentation
Show all versions of mutters-statemachine-bot Show documentation
A framework for building bots.
package com.rabidgremlin.mutters.state;
import com.rabidgremlin.mutters.core.IntentMatch;
import com.rabidgremlin.mutters.core.session.Session;
public abstract class State
{
protected String name;
public State(String name)
{
this.name = name;
}
public abstract IntentResponse execute(final IntentMatch intentMatch, final Session session);
public String getName()
{
return name;
}
@Override
public String toString()
{
return "State [name=" + name + "]";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy