public enum ConnectorNodeType extends Enum<ConnectorNodeType>
Enum Constant and Description |
---|
ANY_FILE |
BPMN_FILE |
FOLDER |
PNG_FILE |
UNSPECIFIED
Special case which is not yet specified
|
Modifier and Type | Method and Description |
---|---|
String |
getMimeType() |
boolean |
isAnyOf(ConnectorNodeType... types) |
boolean |
isDirectory() |
boolean |
isFile() |
static ConnectorNodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectorNodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectorNodeType UNSPECIFIED
public static final ConnectorNodeType FOLDER
public static final ConnectorNodeType ANY_FILE
public static final ConnectorNodeType BPMN_FILE
public static final ConnectorNodeType PNG_FILE
public static ConnectorNodeType[] values()
for (ConnectorNodeType c : ConnectorNodeType.values()) System.out.println(c);
public static ConnectorNodeType 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 nullpublic String getMimeType()
public boolean isFile()
public boolean isAnyOf(ConnectorNodeType... types)
public boolean isDirectory()
Copyright © 2015. All rights reserved.