public enum LoadPomDependenciesTask extends Enum<LoadPomDependenciesTask> implements MavenWorkingSessionTask<MavenWorkingSession>
MavenWorkingSession
.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 LoadPomDependenciesTask |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadPomDependenciesTask[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadPomDependenciesTask INSTANCE
public static LoadPomDependenciesTask[] values()
for (LoadPomDependenciesTask c : LoadPomDependenciesTask.values()) System.out.println(c);
public static LoadPomDependenciesTask 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.