net.nemerosa.ontrack.model.structure.ValidationRunStatus 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 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