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

com.rabidgremlin.mutters.state.State Maven / Gradle / Ivy

There is a newer version: 7.1.0
Show newest version
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