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

net.nemerosa.ontrack.model.structure.ValidationRunStatusService Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
package net.nemerosa.ontrack.model.structure;

import java.util.Collection;
import java.util.List;
import java.util.stream.Collectors;

public interface ValidationRunStatusService {

    Collection getValidationRunStatusList();

    ValidationRunStatusID getValidationRunStatus(String id);

    List getNextValidationRunStatusList(String id);

    default List getValidationRunStatusRoots() {
        return getValidationRunStatusList().stream()
                .filter(ValidationRunStatusID::isRoot)
                .collect(Collectors.toList());
    }

    void checkTransition(ValidationRunStatusID from, ValidationRunStatusID to);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy