public enum MavenChecksumPolicy extends Enum<MavenChecksumPolicy>
Enum Constant and Description |
---|
CHECKSUM_POLICY_FAIL
Verify checksums and fail the resolution if they do not match.
|
CHECKSUM_POLICY_IGNORE
Do not verify checksums.
|
CHECKSUM_POLICY_WARN
Verify checksums and warn if they do not match.
|
Modifier and Type | Method and Description |
---|---|
String |
apiValue() |
static MavenChecksumPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MavenChecksumPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MavenChecksumPolicy CHECKSUM_POLICY_FAIL
public static final MavenChecksumPolicy CHECKSUM_POLICY_WARN
public static final MavenChecksumPolicy CHECKSUM_POLICY_IGNORE
public static MavenChecksumPolicy[] values()
for (MavenChecksumPolicy c : MavenChecksumPolicy.values()) System.out.println(c);
public static MavenChecksumPolicy 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 String apiValue()
Copyright © 2021 JBoss by Red Hat. All rights reserved.