ShrinkWrap Resolver Maven Implementation 2.0.0-alpha-3

org.jboss.shrinkwrap.resolver.impl.maven.task
Enum ConfigureSettingsFromPluginTask

java.lang.Object
  extended by java.lang.Enum<ConfigureSettingsFromPluginTask>
      extended by org.jboss.shrinkwrap.resolver.impl.maven.task.ConfigureSettingsFromPluginTask
All Implemented Interfaces:
Serializable, Comparable<ConfigureSettingsFromPluginTask>, MavenWorkingSessionTask

public enum ConfigureSettingsFromPluginTask
extends Enum<ConfigureSettingsFromPluginTask>
implements MavenWorkingSessionTask

MavenWorkingSessionTask to be used in conjunction with the Maven Resolver Maven Plugin (which sets up the environment)

Author:
Karel Piwko

Enum Constant Summary
INSTANCE
           
 
Method Summary
 MavenWorkingSession execute(MavenWorkingSession session)
          Executes the specified session, returning the next session to be invoked
static ConfigureSettingsFromPluginTask valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConfigureSettingsFromPluginTask[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INSTANCE

public static final ConfigureSettingsFromPluginTask INSTANCE
Method Detail

values

public static ConfigureSettingsFromPluginTask[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ConfigureSettingsFromPluginTask c : ConfigureSettingsFromPluginTask.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ConfigureSettingsFromPluginTask valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

execute

public MavenWorkingSession execute(MavenWorkingSession session)
Description copied from interface: MavenWorkingSessionTask
Executes the specified session, returning the next session to be invoked

Specified by:
execute in interface MavenWorkingSessionTask
Returns:

ShrinkWrap Resolver Maven Implementation 2.0.0-alpha-3

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