Serializable
, Comparable<JarResigner.Strategy>
public static enum JarResigner.Strategy extends Enum<JarResigner.Strategy>
Enum Constant | Description |
---|---|
DO_NOT_RESIGN |
|
OVERWRITE |
|
OVERWRITE_WITH_SAME_DIGEST_ALGORITHM |
|
RESIGN |
|
RESIGN_WITH_SAME_DIGEST_ALGORITHM |
|
THROW_EXCEPTION |
Modifier and Type | Method | Description |
---|---|---|
static JarResigner.Strategy |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static JarResigner.Strategy[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JarResigner.Strategy DO_NOT_RESIGN
public static final JarResigner.Strategy THROW_EXCEPTION
public static final JarResigner.Strategy RESIGN
public static final JarResigner.Strategy RESIGN_WITH_SAME_DIGEST_ALGORITHM
public static final JarResigner.Strategy OVERWRITE
public static final JarResigner.Strategy OVERWRITE_WITH_SAME_DIGEST_ALGORITHM
public static JarResigner.Strategy[] values()
for (JarResigner.Strategy c : JarResigner.Strategy.values()) System.out.println(c);
public static JarResigner.Strategy 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 © 2019 Eclipse Foundation. All rights reserved.