cct.grid
Class LocalServiceProvider
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nativeDialog
protected javax.swing.JPanel nativeDialog
osName
java.lang.String osName
windowsOS
boolean windowsOS
LocalServiceProvider
public LocalServiceProvider()
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)