public enum FunctionRestorePolicy extends java.lang.Enum<FunctionRestorePolicy> implements Rawable
Enum Constant and Description |
---|
APPEND
Append the restored libraries to the existing libraries and
aborts on collision.
|
FLUSH
Delete all existing libraries before restoring the payload
|
REPLACE
Append the restored libraries to the existing libraries, replacing
any existing ones in case of name collisions.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getRaw()
Get byte array.
|
static FunctionRestorePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FunctionRestorePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionRestorePolicy FLUSH
public static final FunctionRestorePolicy APPEND
public static final FunctionRestorePolicy REPLACE
public static FunctionRestorePolicy[] values()
for (FunctionRestorePolicy c : FunctionRestorePolicy.values()) System.out.println(c);
public static FunctionRestorePolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2024. All rights reserved.