public static enum EditorSaveSettings.SavePolicy extends java.lang.Enum<EditorSaveSettings.SavePolicy>
Enum Constant and Description |
---|
KEEP_SOURCE_AND_CREATE_ALWAYS_OUTPUT
Return always the sourceType and create always a compressed output image.
|
KEEP_SOURCE_AND_CREATE_OUTPUT_IF_NECESSARY
Return always the sourceType but create no output if you haven not any changes.
|
RETURN_ALWAYS_ONLY_OUTPUT
Return always a compressed JPEG as Output and delete the sourceType image.
|
RETURN_SOURCE_OR_CREATE_OUTPUT_IF_NECESSARY
Returns the sourceType image if you haven not any changes else get a compressed JPEG and delete the sourceType image.
|
Modifier and Type | Method and Description |
---|---|
static EditorSaveSettings.SavePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EditorSaveSettings.SavePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EditorSaveSettings.SavePolicy KEEP_SOURCE_AND_CREATE_ALWAYS_OUTPUT
public static final EditorSaveSettings.SavePolicy KEEP_SOURCE_AND_CREATE_OUTPUT_IF_NECESSARY
public static final EditorSaveSettings.SavePolicy RETURN_ALWAYS_ONLY_OUTPUT
public static final EditorSaveSettings.SavePolicy RETURN_SOURCE_OR_CREATE_OUTPUT_IF_NECESSARY
public static EditorSaveSettings.SavePolicy 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 nullpublic static EditorSaveSettings.SavePolicy[] values()
for (EditorSaveSettings.SavePolicy c : EditorSaveSettings.SavePolicy.values()) System.out.println(c);