gr.uoa.di.madgik.workflow.adaptor.utils.jdl
Enum ParsedJDLInfo.KnownKeys

java.lang.Object
  extended by java.lang.Enum<ParsedJDLInfo.KnownKeys>
      extended by gr.uoa.di.madgik.workflow.adaptor.utils.jdl.ParsedJDLInfo.KnownKeys
All Implemented Interfaces:
Serializable, Comparable<ParsedJDLInfo.KnownKeys>
Enclosing class:
ParsedJDLInfo

public static enum ParsedJDLInfo.KnownKeys
extends Enum<ParsedJDLInfo.KnownKeys>

The know JDL keys that are supported. These include original JDL keys as well as extensions supported by the WorkflowJDLAdaptor


Enum Constant Summary
Arguments
          The Arguments to be supplied to the executable.
ConnectionMode
          The Connection mode that the WorkflowJDLAdaptor should use.
Dependencies
          The Dependencies that formulate the DAG
Description
          The Description of a DAG node job
Environment
          The Environment this job requires.
Executable
          The Executable of a single job.
InputSandbox
          The Input sandbox of the job.
JobType
          The Job type.
Max_Running_Nodes
          The Max_ running_ nodes in a DAG.
Nodes
          The Nodes collection of a DAG
NodesCollocation
          Whether the nodes should be collocated in case of a DAG
OutputSandbox
          The Output sandbox of the job.
ParsingMode
          The Parsing mode that the WorkflowJDLAdaptor should use while constructing the plan.
Rank
          The Rank function to use on class ads
Requirements
          The Requirements function to use on class ads
RetryCount
          The Retry count of the job.
RetryInterval
          The Retry interval of the job.
ShallowRetryCount
          The Shallow retry count of the job.
StdError
          The StdErr of the executable.
StdInput
          The StdIn to be supplied to the executable.
StdOutput
          The StdOut of the executable.
Type
          The Type of the JDL.
 
Method Summary
static ParsedJDLInfo.KnownKeys valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ParsedJDLInfo.KnownKeys[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Type

public static final ParsedJDLInfo.KnownKeys Type
The Type of the JDL. This can be one of the values defined in ParsedJDLInfo.JobDescriptionType


JobType

public static final ParsedJDLInfo.KnownKeys JobType
The Job type. This can be one of the values defined in ParsedJDLInfo.JobType


Executable

public static final ParsedJDLInfo.KnownKeys Executable
The Executable of a single job.


Arguments

public static final ParsedJDLInfo.KnownKeys Arguments
The Arguments to be supplied to the executable.


StdInput

public static final ParsedJDLInfo.KnownKeys StdInput
The StdIn to be supplied to the executable.


StdOutput

public static final ParsedJDLInfo.KnownKeys StdOutput
The StdOut of the executable.


StdError

public static final ParsedJDLInfo.KnownKeys StdError
The StdErr of the executable.


InputSandbox

public static final ParsedJDLInfo.KnownKeys InputSandbox
The Input sandbox of the job.


OutputSandbox

public static final ParsedJDLInfo.KnownKeys OutputSandbox
The Output sandbox of the job.


Environment

public static final ParsedJDLInfo.KnownKeys Environment
The Environment this job requires.


RetryCount

public static final ParsedJDLInfo.KnownKeys RetryCount
The Retry count of the job.


RetryInterval

public static final ParsedJDLInfo.KnownKeys RetryInterval
The Retry interval of the job.


ShallowRetryCount

public static final ParsedJDLInfo.KnownKeys ShallowRetryCount
The Shallow retry count of the job.


NodesCollocation

public static final ParsedJDLInfo.KnownKeys NodesCollocation
Whether the nodes should be collocated in case of a DAG


Rank

public static final ParsedJDLInfo.KnownKeys Rank
The Rank function to use on class ads


Requirements

public static final ParsedJDLInfo.KnownKeys Requirements
The Requirements function to use on class ads


Nodes

public static final ParsedJDLInfo.KnownKeys Nodes
The Nodes collection of a DAG


Dependencies

public static final ParsedJDLInfo.KnownKeys Dependencies
The Dependencies that formulate the DAG


Description

public static final ParsedJDLInfo.KnownKeys Description
The Description of a DAG node job


Max_Running_Nodes

public static final ParsedJDLInfo.KnownKeys Max_Running_Nodes
The Max_ running_ nodes in a DAG.


ParsingMode

public static final ParsedJDLInfo.KnownKeys ParsingMode
The Parsing mode that the WorkflowJDLAdaptor should use while constructing the plan. This can be one of the values defined in ParsedJDLInfo.ParsingModeType.


ConnectionMode

public static final ParsedJDLInfo.KnownKeys ConnectionMode
The Connection mode that the WorkflowJDLAdaptor should use. while constructing the plan. This can be one of the values defined in PlanConfig.ConnectionMode.

Method Detail

values

public static ParsedJDLInfo.KnownKeys[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ParsedJDLInfo.KnownKeys c : ParsedJDLInfo.KnownKeys.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ParsedJDLInfo.KnownKeys valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013. All Rights Reserved.