ShrinkWrap Resolver Maven Implementation 2.0.0-alpha-2

org.jboss.shrinkwrap.resolver.impl.maven.logging
Class LogModelProblemCollector

java.lang.Object
  extended by org.jboss.shrinkwrap.resolver.impl.maven.logging.LogModelProblemCollector
All Implemented Interfaces:
org.apache.maven.model.building.ModelProblemCollector

public class LogModelProblemCollector
extends Object
implements org.apache.maven.model.building.ModelProblemCollector

ModelProblemCollector implementation which pipes Exceptions to the log.

Author:
Karel Piwko

Constructor Summary
LogModelProblemCollector()
           
 
Method Summary
 void add(org.apache.maven.model.building.ModelProblem.Severity severity, String message, org.apache.maven.model.InputLocation location, Exception cause)
           
 boolean hasSevereFailures()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogModelProblemCollector

public LogModelProblemCollector()
Method Detail

add

public void add(org.apache.maven.model.building.ModelProblem.Severity severity,
                String message,
                org.apache.maven.model.InputLocation location,
                Exception cause)
Specified by:
add in interface org.apache.maven.model.building.ModelProblemCollector

hasSevereFailures

public boolean hasSevereFailures()

ShrinkWrap Resolver Maven Implementation 2.0.0-alpha-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.