public static enum FileBuilder.Mode extends Enum<FileBuilder.Mode>
FileBuilder.createFromTemplate(org.openide.filesystems.FileObject, org.openide.filesystems.FileObject, java.lang.String, java.util.Map<java.lang.String, ?>, org.netbeans.api.templates.FileBuilder.Mode)
.Enum.EnumDesc<E extends Enum<E>>
Enum Constant and Description |
---|
COPY
The template will be just copied.
|
FAIL
The template will not be processed if no custom
CreateFromTemplateHandler handles it. |
FORMAT
The template will be formatted using formatter.
|
Modifier and Type | Method and Description |
---|---|
static FileBuilder.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileBuilder.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileBuilder.Mode FORMAT
public static final FileBuilder.Mode COPY
public static final FileBuilder.Mode FAIL
CreateFromTemplateHandler
handles it.public static FileBuilder.Mode[] values()
public static FileBuilder.Mode 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 null