public static enum Callback.AssociationValue extends java.lang.Enum<Callback.AssociationValue>
Enum Constant and Description |
---|
CHILD
For new files (usually GIFs, JPEGs, or PNGs) that are embedded in the parent file.
|
COPY
For files that are being copied as the result of a template
copy macro. |
REQUIREDNAME
A valid
Callback.CreateNewFileResponse object must be returned by Callback.createNewFile(FileFormat, FileFormat, AssociationValue, String) . |
ROOT
The file to be created is the initial destination file.
|
SIBLING
For new files that are not somehow owned by the parent file.
|
Modifier and Type | Method and Description |
---|---|
static Callback.AssociationValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Callback.AssociationValue[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final Callback.AssociationValue ROOT
public static final Callback.AssociationValue SIBLING
public static final Callback.AssociationValue CHILD
public static final Callback.AssociationValue COPY
copy
macro. Callback.createNewFile(FileFormat, FileFormat, AssociationValue, String)
must return null.public static final Callback.AssociationValue REQUIREDNAME
Callback.CreateNewFileResponse
object must be returned by Callback.createNewFile(FileFormat, FileFormat, AssociationValue, String)
.public static Callback.AssociationValue[] values()
for (Callback.AssociationValue c : Callback.AssociationValue.values()) System.out.println(c);
public static Callback.AssociationValue 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 null