public enum RulesNamespace extends Enum<RulesNamespace> 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 RulesNamespace |
fromUri(String uri)
Gets the RulesNamespace 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 RulesNamespace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RulesNamespace[] |
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 RulesNamespace V_1_0
public static final RulesNamespace V_1_1
public static final RulesNamespace V_2_0
public static final RulesNamespace DEFAULT
public static RulesNamespace[] values()
for (RulesNamespace c : RulesNamespace.values()) System.out.println(c);
public static RulesNamespace 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 RulesNamespace fromUri(String uri)
uri - the uriCopyright © 2013–2017 JBoss by Red Hat. All rights reserved.