Package net.mindengine.galen.reports.model

Examples of net.mindengine.galen.reports.model.LayoutSpec


    }

    @Override
    public void onSpecError(GalenPageRunner pageRunner, PageValidation pageValidation, String objectName, Spec originalSpec, ValidationError error) {

        LayoutSpec spec = new LayoutSpec();
        spec.setPlace(originalSpec.getPlace());
        currentObject.getSpecs().add(spec);
       
        spec.setText(originalSpec.getOriginalText());
        spec.setFailed(true);

        spec.setOnlyWarn(originalSpec.isOnlyWarn());
        spec.setImageComparison(error.getImageComparison());
        spec.setErrorMessages(error.getMessages());
        spec.setErrorAreas(error.getErrorAreas());
       
        pickSubObjectsForSpec(spec);
    }
View Full Code Here


        pickSubObjectsForSpec(spec);
    }

    @Override
    public void onSpecSuccess(GalenPageRunner pageRunner, PageValidation pageValidation, String objectName, Spec originalSpec) {
        LayoutSpec spec = new LayoutSpec();
        spec.setPlace(originalSpec.getPlace());
        currentObject.getSpecs().add(spec);
        spec.setText(originalSpec.getOriginalText());
        spec.setFailed(false);
       
        pickSubObjectsForSpec(spec);
    }
View Full Code Here

        return report;
    }

    private LayoutSpec warnSpec() {
        LayoutSpec spec = new LayoutSpec();
        spec.setFailed(true);
        spec.setOnlyWarn(true);
        return spec;
    }
View Full Code Here

        spec.setOnlyWarn(true);
        return spec;
    }

    private LayoutSpec failedSpec() {
        LayoutSpec spec = new LayoutSpec();
        spec.setFailed(true);
        spec.setOnlyWarn(false);
        return spec;
    }
View Full Code Here

        spec.setOnlyWarn(false);
        return spec;
    }

    private LayoutSpec passedSpec() {
        LayoutSpec spec = new LayoutSpec();
        spec.setFailed(false);
        return spec;
    }
View Full Code Here

TOP

Related Classes of net.mindengine.galen.reports.model.LayoutSpec

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.