net.nemerosa.ontrack.model.structure.ValidationRunStatusService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontrack-model Show documentation
Show all versions of ontrack-model Show documentation
Ontrack module: ontrack-model
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