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

io.snice.testing.runtime.fsm.ActionMessage Maven / Gradle / Ivy

package io.snice.testing.runtime.fsm;

import io.snice.identity.sri.ActionResourceIdentifier;
import io.snice.testing.core.Execution;
import io.snice.testing.core.Session;
import io.snice.testing.core.action.Action;

import java.util.List;

public sealed interface ActionMessage {

    /**
     * Message used to kick-off the execution of an {@link Action} within the {@link ActionFsm}.
     */
    record StartAction(Session session, Action action) implements ActionMessage {
    }

    /**
     * Message to signal that an action has finished executing.
     */
    record ActionFinished(ActionResourceIdentifier sri, Session session,
                          List executions) implements ActionMessage {
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy