public enum XMLTags extends Enum<XMLTags>
Modifier and Type | Field and Description |
---|---|
static String |
CLOSE_TAG_PATTERN
pattern that matches for open tag for provided tag name.
|
static String |
OPEN_TAG_PATTERN
pattern that matches for open tag for provided tag name.
|
Modifier and Type | Method and Description |
---|---|
String |
getCloseTagPattern() |
static XMLTags |
getFromXMLName(String xmlName)
Get the XMLTags enum corresponding to the given xml tag name.
|
String |
getOpenTagPattern() |
String |
getXMLName()
Return the XML tag name of the element as a String.
|
boolean |
matches(String xmlName)
Return true if the given XML name matches this XMLAttributes
|
String |
toString() |
static XMLTags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XMLTags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
withContent(String content) |
public static final XMLTags JOB
public static final XMLTags JOB_CLASSPATHES
public static final XMLTags JOB_PATH_ELEMENT
public static final XMLTags TASK_FLOW
public static final XMLTags COMMON_DESCRIPTION
public static final XMLTags COMMON_GENERIC_INFORMATION
public static final XMLTags COMMON_INFO
public static final XMLTags VARIABLE
public static final XMLTags VARIABLES
public static final XMLTags JAVA_EXECUTABLE
public static final XMLTags NATIVE_EXECUTABLE
public static final XMLTags NATIVE_TASK_ARGUMENT
public static final XMLTags NATIVE_TASK_ARGUMENTS
public static final XMLTags NATIVE_TASK_STATIC_COMMAND
public static final XMLTags SCRIPT_EXECUTABLE
public static final XMLTags TASK
public static final XMLTags TASK_DEPENDENCES
public static final XMLTags TASK_DEPENDENCES_TASK
public static final XMLTags TASK_PARAMETER
public static final XMLTags TASK_PARAMETERS
public static final XMLTags PARALLEL_ENV
public static final XMLTags TOPOLOGY
public static final XMLTags TOPOLOGY_ARBITRARY
public static final XMLTags TOPOLOGY_BEST_PROXIMITY
public static final XMLTags TOPOLOGY_DIFFERENT_HOSTS_EXCLUSIVE
public static final XMLTags TOPOLOGY_MULTIPLE_HOSTS_EXCLUSIVE
public static final XMLTags TOPOLOGY_SINGLE_HOST
public static final XMLTags TOPOLOGY_SINGLE_HOST_EXCLUSIVE
public static final XMLTags TOPOLOGY_THRESHOLD_PROXIMITY
public static final XMLTags SCRIPT_ARGUMENT
public static final XMLTags SCRIPT_ARGUMENTS
public static final XMLTags SCRIPT_CLEANING
public static final XMLTags SCRIPT_CODE
public static final XMLTags SCRIPT_FILE
public static final XMLTags SCRIPT_PRE
public static final XMLTags SCRIPT_POST
public static final XMLTags SCRIPT_SCRIPT
public static final XMLTags SCRIPT_SELECTION
public static final XMLTags FORK_ADDITIONAL_CLASSPATH
public static final XMLTags FORK_ENVIRONMENT
public static final XMLTags FORK_JVM_ARG
public static final XMLTags FORK_JVM_ARGS
public static final XMLTags FORK_PATH_ELEMENT
public static final XMLTags FORK_SYSTEM_PROPERTIES
public static final XMLTags FORK_SYSTEM_PROPERTY
public static final XMLTags SCRIPT_ENV
public static final XMLTags FLOW
public static final XMLTags FLOW_IF
public static final XMLTags FLOW_LOOP
public static final XMLTags FLOW_REPLICATE
public static final XMLTags DS_FILES
public static final XMLTags DS_GLOBAL_SPACE
public static final XMLTags DS_INPUT_FILES
public static final XMLTags DS_INPUT_SPACE
public static final XMLTags DS_OUTPUT_FILES
public static final XMLTags DS_OUTPUT_SPACE
public static final XMLTags DS_USER_SPACE
public static final XMLTags METADATA
public static final XMLTags METADATA_VISUALIZATION
public static final String OPEN_TAG_PATTERN
String.format(OPEN_TAG_PATTERN, XMLTags.VARIABLES
seeks
for the string like this: <variables>, < variables>, <variables >, etc.public static final String CLOSE_TAG_PATTERN
String.format(CLOSE_TAG_PATTERN, XMLTags.VARIABLES
seeks
for the string like this: </variables>, <variables/> </ variables>, < / variables >, etc.public static XMLTags[] values()
for (XMLTags c : XMLTags.values()) System.out.println(c);
public static XMLTags 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 getXMLName()
public String getOpenTagPattern()
public String getCloseTagPattern()
public static XMLTags getFromXMLName(String xmlName)
null
.xmlName
- the XML tag name as a string.IllegalArgumentException
- if the tag name does not exist.public boolean matches(String xmlName)
xmlName
- the XML tag name as a String.