ShrinkWrap Resolver Aggregator 1.1.0-alpha-2

org.jboss.shrinkwrap.resolver.api
Class DependencyResolvers

java.lang.Object
  extended by org.jboss.shrinkwrap.resolver.api.DependencyResolvers

public class DependencyResolvers
extends Object

Client entry point to resolve Archives from a specified DependencyBuilder

Author:
Karel Piwko, Andrew Lee Rubinger

Constructor Summary
DependencyResolvers()
           
 
Method Summary
static
<T extends DependencyBuilder<T>>
T
use(Class<T> clazz)
          Creates a new implementation of a dependency builder based on passed class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependencyResolvers

public DependencyResolvers()
Method Detail

use

public static <T extends DependencyBuilder<T>> T use(Class<T> clazz)
Creates a new implementation of a dependency builder based on passed class. This allows to switch builder in the test suite dynamically

Type Parameters:
T - The type of class which extends DependencyBuilder
Parameters:
clazz - the class
Returns:
The new instance of dependency builder backed by passed implementation

ShrinkWrap Resolver Aggregator 1.1.0-alpha-2

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.