Serializable
, Comparable<FileBuilder.Mode>
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 Constant | 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 | 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()
for (FileBuilder.Mode c : FileBuilder.Mode.values()) System.out.println(c);
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 nullBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.