public class JDLDAGExtractor extends Object
ParsedJDLInfo. The known keys which the extractor
looks for in the provided map are the following:
- ParsedJDLInfo.KnownKeys.ParsingMode (optional)
- ParsedJDLInfo.KnownKeys.Max_Running_Nodes (optional)
- ParsedJDLInfo.KnownKeys.Rank (optional)
- ParsedJDLInfo.KnownKeys.Requirements (optional)
- ParsedJDLInfo.KnownKeys.NodesCollocation (optional)
- ParsedJDLInfo.KnownKeys.ConnectionMode (optional)
- ParsedJDLInfo.KnownKeys.Nodes (optional)
- ParsedJDLInfo.KnownKeys.Dependencies (optional)
For every Node described in the DAG, the ParsedJDLInfo.KnownKeys.Description value is extracted
and is used to populate a new ParsedJDLInfo, contained in the ParsedJDLInfo produced by
the JDLDAGExtractor, using the JDLJobExtractor.
The Keys are expected to be found with the exact capitalization that is defined for each key. The dependency
list retrieve by the ParsedJDLInfo.KnownKeys.Dependencies are expected to be defined in pairs. No
inner list expression is supported. The ParsedJDLInfo.KnownKeys.InputSandbox is not supported at the
level of DAG. This means that every node needs to define its own Input Sandbox and cannot reference the
global one.
TODO:
- Fix capitalization requirement
- Support inner list definition of dependencies| Constructor and Description |
|---|
JDLDAGExtractor(Map<String,String> KeyValues)
Instantiates a new JDL DAG extractor.
|
public ParsedJDLInfo ProcessKeys() throws WorkflowValidationException
WorkflowValidationException - the workflow validation exceptionCopyright © 2015. All Rights Reserved.