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

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

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 - 2025 Weber Informatics LLC | Privacy Policy