public enum ConfigureSettingsFromPluginTask extends Enum<ConfigureSettingsFromPluginTask> implements MavenWorkingSessionTask<MavenWorkingSession>
MavenWorkingSessionTask
to be used in conjunction with the Maven Resolver Maven Plugin (which sets up the
environment)Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
MavenWorkingSession |
execute(MavenWorkingSession session)
Executes a task on the specified session returning arbitrary object
|
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.
|
public static final ConfigureSettingsFromPluginTask INSTANCE
public static ConfigureSettingsFromPluginTask[] values()
for (ConfigureSettingsFromPluginTask c : ConfigureSettingsFromPluginTask.values()) System.out.println(c);
public static ConfigureSettingsFromPluginTask valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic MavenWorkingSession execute(MavenWorkingSession session)
MavenWorkingSessionTask
execute
in interface MavenWorkingSessionTask<MavenWorkingSession>
session
- A session the task should be executed on.Copyright © 2022 JBoss by Red Hat. All rights reserved.