public class ParsedJDLInfo extends Object implements IParsedInfo
| Modifier and Type | Class and Description |
|---|---|
static class |
ParsedJDLInfo.JobDescriptionType
The JobDescriptionType.
|
static class |
ParsedJDLInfo.JobType
The Recognized JobType.
|
static class |
ParsedJDLInfo.KnownKeys
The know JDL keys that are supported.
|
static class |
ParsedJDLInfo.ParsingModeType
The ParsingModeType.
|
| Modifier and Type | Field and Description |
|---|---|
String |
Arguments
The Arguments.
|
static int |
DefaultConcurrentRunningJobs
The Default concurrent running jobs currently set to 10 nodes.
|
static long |
DefaultRetryInterval
The Default retry interval currently set to 10 seconds.
|
Map<String,List<String>> |
Dependencies
The Dependencies that form the DAG
|
List<gr.uoa.di.madgik.execution.utils.EnvironmentKeyValue> |
Environment
The Environment.
|
String |
Error
The Error.
|
String |
Executable
The Executable.
|
String |
Input
The Input.
|
List<String> |
InSandbox
The In sandbox.
|
ParsedJDLInfo.JobDescriptionType |
jobDescriptionType
The job description type.
|
ParsedJDLInfo.JobType |
jobType
The job type.
|
int |
MaxRunningNodes
The Max running nodes.
|
gr.uoa.di.madgik.execution.plan.PlanConfig.ConnectionMode |
ModeOfConnection
The Mode of connection.
|
ParsedJDLInfo.ParsingModeType |
ModeOfParsing
The Mode of parsing.
|
Map<String,ParsedJDLInfo> |
Nodes
The information on the Nodes in case the JDL describes a DAG
|
boolean |
NodesCollocation
The Nodes collocation attribute
|
String |
Output
The Output.
|
List<String> |
OutSandbox
The Out sandbox.
|
String |
Rank
The Rank function
|
String |
Requirements
The Requirements function
|
int |
RetryCount
The Retry count.
|
long |
RetryInterval
The Retry interval.
|
| Constructor and Description |
|---|
ParsedJDLInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
GetCommonRequirements() |
String |
GetExtraRequirements(String nodeName) |
void |
SetConnectionMode(String mode)
Sets the connection mode.
|
void |
SetMaxRunningNodes(String number)
Sets the max running nodes.
|
void |
SetNodesCollocation(String collocation)
Sets the node collocation attribute
|
void |
SetParsingMode(String mode)
Sets the parsing mode.
|
void |
SetRetryCount(String counter)
Sets the retry count.
|
void |
SetRetryInterval(String interval)
Sets the retry interval attribute.
|
String |
ToXML()
A draft XML presentation of the information stored in the instance
|
public static long DefaultRetryInterval
public static int DefaultConcurrentRunningJobs
public ParsedJDLInfo.JobDescriptionType jobDescriptionType
public ParsedJDLInfo.JobType jobType
public String Executable
public String Arguments
public String Input
public String Output
public String Error
public List<gr.uoa.di.madgik.execution.utils.EnvironmentKeyValue> Environment
public int RetryCount
public long RetryInterval
public String Rank
public String Requirements
public boolean NodesCollocation
public Map<String,ParsedJDLInfo> Nodes
public int MaxRunningNodes
public ParsedJDLInfo.ParsingModeType ModeOfParsing
public gr.uoa.di.madgik.execution.plan.PlanConfig.ConnectionMode ModeOfConnection
public void SetConnectionMode(String mode)
mode - the modepublic void SetParsingMode(String mode)
mode - the modepublic void SetMaxRunningNodes(String number)
number - the maximum number of concurrently running nodespublic void SetRetryCount(String counter)
counter - the counter. The argument expected is a
string representation of an integerpublic void SetRetryInterval(String interval)
interval - the interval. The argument expected is a
string representation of a longpublic void SetNodesCollocation(String collocation)
collocation - the collocation attribute value. The argument expected is a
string representation of a boolean valuepublic String GetCommonRequirements()
public String ToXML()
Copyright © 2015. All Rights Reserved.