public static enum MavenLicense.Distribution extends Enum<MavenLicense.Distribution>
| Enum Constant and Description |
|---|
MANUAL
Must be manually installed.
|
REPO
May be downloaded from a Maven repository.
|
| Modifier and Type | Method and Description |
|---|---|
static MavenLicense.Distribution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MavenLicense.Distribution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MavenLicense.Distribution REPO
public static final MavenLicense.Distribution MANUAL
public static MavenLicense.Distribution[] values()
for (MavenLicense.Distribution c : MavenLicense.Distribution.values()) System.out.println(c);
public static MavenLicense.Distribution 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 nullCopyright © 2022 Pivotal Software, Inc.. All rights reserved.