gov.bnl.star.offline.scheduler.util
Class RDLApplicationResolver

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.util.RDLApplicationResolver

public class RDLApplicationResolver
extends java.lang.Object

Convert RDL application tasks to script elements.

Author:
Levente Hajdu

Field Summary
 java.util.List applicationTable
           
 
Constructor Summary
RDLApplicationResolver()
          Creates a new instance of RDLApplicationResolver
 
Method Summary
 void addApplication(Application app)
           
 Application findApplication(Application app, Task task)
          Takes the users app and and trys to fill it or return another valid option
 boolean getIsUnixSystem()
           
static void main(java.lang.String[] args)
           
 java.lang.String resolve(Application app, Task task)
          resolves the command line string
 java.lang.String resolveJavaTask(JavaTask task)
          resolve the javaTask object part of the string
 java.lang.String resolveRootTask(RootTask task)
           
 java.lang.String resolveScriptTask(ScriptTask task)
           
 void setIsUnixSystem(boolean isUnixSystem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationTable

public java.util.List applicationTable
Constructor Detail

RDLApplicationResolver

public RDLApplicationResolver()
Creates a new instance of RDLApplicationResolver

Method Detail

resolve

public java.lang.String resolve(Application app,
                                Task task)
resolves the command line string


setIsUnixSystem

public void setIsUnixSystem(boolean isUnixSystem)

getIsUnixSystem

public boolean getIsUnixSystem()

resolveJavaTask

public java.lang.String resolveJavaTask(JavaTask task)
resolve the javaTask object part of the string


resolveRootTask

public java.lang.String resolveRootTask(RootTask task)

resolveScriptTask

public java.lang.String resolveScriptTask(ScriptTask task)

addApplication

public void addApplication(Application app)

findApplication

public Application findApplication(Application app,
                                   Task task)
Takes the users app and and trys to fill it or return another valid option


main

public static void main(java.lang.String[] args)
Parameters:
args - the command line arguments


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.