public enum InferPackagingTypeTask extends Enum<InferPackagingTypeTask> implements MavenWorkingSessionTask<PackagingType>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
PackagingType |
execute(MavenWorkingSession session)
Executes a task on the specified session returning arbitrary object
|
static InferPackagingTypeTask |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InferPackagingTypeTask[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InferPackagingTypeTask INSTANCE
public static InferPackagingTypeTask[] values()
for (InferPackagingTypeTask c : InferPackagingTypeTask.values()) System.out.println(c);
public static InferPackagingTypeTask 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 PackagingType execute(MavenWorkingSession session)
MavenWorkingSessionTaskexecute in interface MavenWorkingSessionTask<PackagingType>session - A session the task should be executed on.Copyright © 2024 JBoss by Red Hat. All rights reserved.