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

org.squirrelframework.foundation.fsm.AnonymousAction Maven / Gradle / Ivy

Go to download

foundation module of squirrel framework which provided event driven infrastructure and a finite state machine implementation.

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy