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