Interface DependentInstance


  • public interface DependentInstance
    A dependent instance takes account of some other instance.
    • Method Detail

      • win

        Command win​(java.util.List<ScenarioResult> results,
                    Command command)
        Notifies the scenario that there are conflicting loosing scenarios.

        The winning scenario may modify its behavior to take account of the loosers.

        Parameters:
        results -
        command -
        Returns:
        the new command