cct.grid
Class LocalServiceProvider

java.lang.Object
  extended by cct.grid.LocalServiceProvider
All Implemented Interfaces:
GridProviderInterface

public class LocalServiceProvider
extends java.lang.Object
implements GridProviderInterface

Title: Molecular Structure Viewer/Editor

Description: Computational Chemistry Toolkit

Copyright: Copyright (c) 2006

Company: ANU


Field Summary
protected  javax.swing.JPanel nativeDialog
           
(package private)  java.lang.String osName
           
(package private)  boolean windowsOS
           
 
Constructor Summary
LocalServiceProvider()
           
 
Method Summary
 java.lang.String getCommandsAsString()
           
 java.lang.String getGatekeeper()
           
 java.lang.String getJobHandle()
           
 java.lang.String getJobStatus(CheckPoint chkp)
           
 java.lang.String getName()
           
 OperationalSystems getOS()
           
 FileChooserInterface getRemoteFileChooser()
           
 java.lang.String getRemoteHost()
           
 java.awt.Component getVisualComponent()
           
 boolean isPassOptionsToScheduler()
           
 boolean isRemoteDirectorySelectable()
           
 void killJob(CheckPoint chkp)
           
static void main(java.lang.String[] args)
           
 CheckPointInterface setCheckPoint(CheckPointInterface checkp)
           
 void submitJob(JobDescription job)
           
 java.lang.String submitTask(JobDescription job)
           
 boolean transferFile(java.lang.String source, java.lang.String destination)
           
 boolean transferFile(java.lang.String source, java.lang.String destination, CheckPoint chkp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nativeDialog

protected javax.swing.JPanel nativeDialog

osName

java.lang.String osName

windowsOS

boolean windowsOS
Constructor Detail

LocalServiceProvider

public LocalServiceProvider()
Method Detail

submitJob

public void submitJob(JobDescription job)
               throws java.lang.Exception
Throws:
java.lang.Exception

getJobHandle

public java.lang.String getJobHandle()

getName

public java.lang.String getName()
Specified by:
getName in interface GridProviderInterface

getVisualComponent

public java.awt.Component getVisualComponent()
Specified by:
getVisualComponent in interface GridProviderInterface

getRemoteFileChooser

public FileChooserInterface getRemoteFileChooser()
Specified by:
getRemoteFileChooser in interface GridProviderInterface

getRemoteHost

public java.lang.String getRemoteHost()
Specified by:
getRemoteHost in interface GridProviderInterface

isPassOptionsToScheduler

public boolean isPassOptionsToScheduler()
Specified by:
isPassOptionsToScheduler in interface GridProviderInterface

submitTask

public java.lang.String submitTask(JobDescription job)
                            throws java.lang.Exception
Specified by:
submitTask in interface GridProviderInterface
Throws:
java.lang.Exception

getCommandsAsString

public java.lang.String getCommandsAsString()
Specified by:
getCommandsAsString in interface GridProviderInterface

getOS

public OperationalSystems getOS()
Specified by:
getOS in interface GridProviderInterface

getGatekeeper

public java.lang.String getGatekeeper()
Specified by:
getGatekeeper in interface GridProviderInterface

setCheckPoint

public CheckPointInterface setCheckPoint(CheckPointInterface checkp)
Specified by:
setCheckPoint in interface GridProviderInterface

getJobStatus

public java.lang.String getJobStatus(CheckPoint chkp)
                              throws java.lang.Exception
Specified by:
getJobStatus in interface GridProviderInterface
Throws:
java.lang.Exception

killJob

public void killJob(CheckPoint chkp)
             throws java.lang.Exception
Specified by:
killJob in interface GridProviderInterface
Throws:
java.lang.Exception

isRemoteDirectorySelectable

public boolean isRemoteDirectorySelectable()
Specified by:
isRemoteDirectorySelectable in interface GridProviderInterface

transferFile

public boolean transferFile(java.lang.String source,
                            java.lang.String destination)
                     throws java.lang.Exception
Throws:
java.lang.Exception

transferFile

public boolean transferFile(java.lang.String source,
                            java.lang.String destination,
                            CheckPoint chkp)
                     throws java.lang.Exception
Specified by:
transferFile in interface GridProviderInterface
Throws:
java.lang.Exception

main

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