ShrinkWrap Resolver Maven Archive API 2.0.0-alpha-2

org.jboss.shrinkwrap.resolver.api.maven.archive
Class ShrinkWrapMaven

java.lang.Object
  extended by org.jboss.shrinkwrap.resolver.api.maven.archive.ShrinkWrapMaven

public class ShrinkWrapMaven
extends Object

ShrinkWrap Maven Resolver. Shorthand convenience API where the call resolver() is analogous to a more longhand, formal call to Resolvers.use(Class), passing MavenResolverSystem as the argument. Also supports configuration via configureResolver().

Author:
Andrew Lee Rubinger

Constructor Summary
ShrinkWrapMaven()
           
 
Method Summary
static ConfiguredResolverSystemFactory<MavenArchiveResolverSystem,ConfigurableMavenArchiveResolverSystem> configureResolver()
          Creates and returns a new ConfiguredResolverSystemFactory instance which may be used to create new MavenArchiveResolverSystem instances
static MavenArchiveResolverSystem resolver()
          Creates and returns a new MavenArchiveResolverSystem instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShrinkWrapMaven

public ShrinkWrapMaven()
Method Detail

resolver

public static MavenArchiveResolverSystem resolver()
Creates and returns a new MavenArchiveResolverSystem instance

Returns:

configureResolver

public static ConfiguredResolverSystemFactory<MavenArchiveResolverSystem,ConfigurableMavenArchiveResolverSystem> configureResolver()
Creates and returns a new ConfiguredResolverSystemFactory instance which may be used to create new MavenArchiveResolverSystem instances

Returns:

ShrinkWrap Resolver Maven Archive API 2.0.0-alpha-2

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