public enum BPMNamespace extends Enum<BPMNamespace> implements org.switchyard.component.common.knowledge.config.model.KnowledgeNamespace
| Enum Constant and Description |
|---|
DEFAULT
The default namespace.
|
V_1_0
The 1.0 namespace.
|
V_1_1
The 1.1 namespace.
|
V_2_0
The 2.0 namespace.
|
| Modifier and Type | Method and Description |
|---|---|
static BPMNamespace |
fromUri(String uri)
Gets the BPMNamespace for the specified uri, or null if no matching uris are found.
|
boolean |
isDefault() |
String |
section() |
String |
uri() |
boolean |
uriMatches(org.switchyard.config.model.Namespace namespace) |
static BPMNamespace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BPMNamespace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
version() |
boolean |
versionMatches(org.switchyard.config.model.Namespace namespace) |
public static final BPMNamespace V_1_0
public static final BPMNamespace V_1_1
public static final BPMNamespace V_2_0
public static final BPMNamespace DEFAULT
public static BPMNamespace[] values()
for (BPMNamespace c : BPMNamespace.values()) System.out.println(c);
public static BPMNamespace 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 section()
section in interface org.switchyard.config.model.Namespacepublic String version()
version in interface org.switchyard.config.model.Namespacepublic boolean versionMatches(org.switchyard.config.model.Namespace namespace)
versionMatches in interface org.switchyard.config.model.Namespacepublic String uri()
uri in interface org.switchyard.config.model.Namespacepublic boolean uriMatches(org.switchyard.config.model.Namespace namespace)
uriMatches in interface org.switchyard.config.model.Namespacepublic boolean isDefault()
isDefault in interface org.switchyard.config.model.Namespacepublic static BPMNamespace fromUri(String uri)
uri - the uriCopyright © 2013–2017 JBoss by Red Hat. All rights reserved.