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

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

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

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor(access = AccessLevel.PROTECTED)
public class ValidationRunStatus {

    private final Signature signature;
    private final ValidationRunStatusID statusID;
    private final String description;

    public static ValidationRunStatus of(Signature signature, ValidationRunStatusID validationRunStatusID, String description) {
        return new ValidationRunStatus(
                signature,
                validationRunStatusID,
                description
        );
    }

    public boolean isPassed() {
        return statusID.isPassed();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy