org.squirrelframework.foundation.fsm.AnonymousAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of squirrel-foundation Show documentation
Show all versions of squirrel-foundation Show documentation
foundation module of squirrel framework which provided event driven infrastructure and a finite state machine implementation.
package org.squirrelframework.foundation.fsm;
public abstract class AnonymousAction, S, E, C>
implements Action {
@Override
public String name() {
return getClass().getSimpleName();
}
@Override
public int weight() {
return NORMAL_WEIGHT;
}
@Override
final public String toString() {
return "instance#"+getClass().getName();
}
@Override
public boolean isAsync() {
return false;
}
@Override
public long timeout() {
return -1;
}
}