Package org.candlepin.gutterball.model.snapshot

Examples of org.candlepin.gutterball.model.snapshot.ComplianceReason


            String owner, String statusString) {
        Consumer consumerSnap = new Consumer(consumerUuid, createOwnerSnapshot(owner, owner));
        ComplianceStatus statusSnap = new ComplianceStatus(statusDate, statusString);

        if (statusString.toLowerCase().equals("invalid")) {
            ComplianceReason reason = new ComplianceReason("reason-key", "Test message");
            reason.setComplianceStatus(statusSnap);
            statusSnap.getReasons().add(reason);
        }
        return new Compliance(statusDate, consumerSnap, statusSnap);
    }
View Full Code Here

TOP

Related Classes of org.candlepin.gutterball.model.snapshot.ComplianceReason

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.