Package org.apache.tuscany.sca.workspace.builder

Examples of org.apache.tuscany.sca.workspace.builder.ContributionDependencyBuilderMonitor


        item.setLink(link(contributionURI));
        item.setAlternate(contribution.getLocation());
       
        // List the contribution dependencies in the item contents
        final List<String> problems = new ArrayList<String>();
        ContributionDependencyBuilderMonitor monitor = new ContributionDependencyBuilderMonitor() {
            public void problem(Problem problem) {
                problems.add(problem.getMessage() + " " + problem.getModel());
            }
        };
       
View Full Code Here


     */
    public ContributionDependencyBuilderImpl(ContributionDependencyBuilderMonitor monitor) {
       
        if (monitor == null) {
            // Create a default monitor that logs using the JDK logger.
            monitor = new ContributionDependencyBuilderMonitor() {
                public void problem(Problem problem) {
                    if (problem.getSeverity() == Severity.INFO) {
                        logger.info(problem.toString());
                    } else if (problem.getSeverity() == Severity.WARNING) {
                        logger.warning(problem.toString());
View Full Code Here

     */
    public ContributionDependencyBuilderImpl(ContributionDependencyBuilderMonitor monitor) {
       
        if (monitor == null) {
            // Create a default monitor that logs using the JDK logger.
            monitor = new ContributionDependencyBuilderMonitor() {
                public void problem(Problem problem) {
                    if (problem.getSeverity() == Severity.INFO) {
                        logger.info(problem.toString());
                    } else if (problem.getSeverity() == Severity.WARNING) {
                        logger.warning(problem.toString());
View Full Code Here

        item.setLink(link(contributionURI));
        item.setAlternate(contribution.getLocation());
       
        // List the contribution dependencies in the item contents
        final List<String> problems = new ArrayList<String>();
        ContributionDependencyBuilderMonitor monitor = new ContributionDependencyBuilderMonitor() {
            public void problem(Problem problem) {
                problems.add(problem.getMessage() + " " + problem.getModel());
            }
        };
       
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.workspace.builder.ContributionDependencyBuilderMonitor

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.