net.nemerosa.ontrack.model.structure.ValidationRunStatusService Maven / Gradle / Ivy
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