cct.grid
Class ParseCheckpointFile

java.lang.Object
  extended by cct.grid.ParseCheckpointFile

public class ParseCheckpointFile
extends java.lang.Object

Title: Molecular Structure Viewer/Editor

Description: Computational Chemistry Toolkit

Copyright: Copyright (c) 2006

Company: ANU


Nested Class Summary
(package private)  class ParseCheckpointFile.HandleSAXEvents
           
 
Field Summary
(package private)  CheckPoint checkPoint
           
(package private) static java.lang.String CHECKPOINT_FILE
           
(package private) static java.lang.String checkPointFile
           
(package private)  java.lang.String currentTag
           
(package private) static boolean debug
           
(package private)  boolean finish_parsing
           
(package private)  java.util.HashMap jobSpecificationEntries
           
(package private) static java.lang.String Message
           
(package private)  java.util.HashMap outputFilesEntries
           
(package private)  int parseLevel
           
(package private)  java.util.HashMap serviceEntries
           
(package private)  java.util.ArrayList tasks
           
(package private)  boolean yes_parsing_task
           
(package private)  boolean yes_tasks
           
 
Constructor Summary
ParseCheckpointFile()
           
 
Method Summary
 void addCheckPoint(CheckPoint checkPoint)
           
static java.lang.String CreateCheckpointString(java.util.ArrayList Tasks)
           
static boolean createElements(javax.xml.transform.sax.TransformerHandler hd, java.util.HashMap list, java.util.HashMap elements)
           
static java.lang.String getCheckPointFile()
           
 void getJobStatuses()
           
 java.util.ArrayList getTasks()
           
static void main(java.lang.String[] args)
           
 void parseCheckpointFile()
           
 void parseCheckpointFile(java.lang.String file_name)
           
static void saveCheckPointFile(java.util.ArrayList jobs)
           
static void saveCheckPointFile(java.util.ArrayList jobs, java.lang.String file_name)
           
 void updateSelectedCheckPoints(java.util.ArrayList checkpoints)
           
 void updateSelectedCheckPoints(java.util.ArrayList checkpoints, java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

checkPointFile

static java.lang.String checkPointFile

CHECKPOINT_FILE

static final java.lang.String CHECKPOINT_FILE
See Also:
Constant Field Values

debug

static boolean debug

finish_parsing

boolean finish_parsing

yes_tasks

boolean yes_tasks

yes_parsing_task

boolean yes_parsing_task

parseLevel

int parseLevel

Message

static java.lang.String Message

currentTag

java.lang.String currentTag

tasks

java.util.ArrayList tasks

checkPoint

CheckPoint checkPoint

serviceEntries

java.util.HashMap serviceEntries

jobSpecificationEntries

java.util.HashMap jobSpecificationEntries

outputFilesEntries

java.util.HashMap outputFilesEntries
Constructor Detail

ParseCheckpointFile

public ParseCheckpointFile()
Method Detail

parseCheckpointFile

public void parseCheckpointFile()
                         throws java.lang.Exception
Throws:
java.lang.Exception

getTasks

public java.util.ArrayList getTasks()

parseCheckpointFile

public void parseCheckpointFile(java.lang.String file_name)

CreateCheckpointString

public static java.lang.String CreateCheckpointString(java.util.ArrayList Tasks)

createElements

public static boolean createElements(javax.xml.transform.sax.TransformerHandler hd,
                                     java.util.HashMap list,
                                     java.util.HashMap elements)

getCheckPointFile

public static java.lang.String getCheckPointFile()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

addCheckPoint

public void addCheckPoint(CheckPoint checkPoint)
                   throws MalformedCheckPointException
Throws:
MalformedCheckPointException

saveCheckPointFile

public static void saveCheckPointFile(java.util.ArrayList jobs,
                                      java.lang.String file_name)
                               throws MalformedCheckPointException
Throws:
MalformedCheckPointException

saveCheckPointFile

public static void saveCheckPointFile(java.util.ArrayList jobs)
                               throws MalformedCheckPointException
Throws:
MalformedCheckPointException

updateSelectedCheckPoints

public void updateSelectedCheckPoints(java.util.ArrayList checkpoints)
                               throws MalformedCheckPointException
Throws:
MalformedCheckPointException

updateSelectedCheckPoints

public void updateSelectedCheckPoints(java.util.ArrayList checkpoints,
                                      java.lang.String fileName)
                               throws MalformedCheckPointException
Throws:
MalformedCheckPointException

getJobStatuses

public void getJobStatuses()
                    throws MalformedCheckPointException
Throws:
MalformedCheckPointException

main

public static void main(java.lang.String[] args)