com.partnersoft.v3x.apps.Staker.interfaces
Class PythonModule

java.lang.Object
  extended by com.partnersoft.v3x.apps.Staker.interfaces.ExternalInterfaceModule
      extended by com.partnersoft.v3x.apps.Staker.interfaces.PythonModule
All Implemented Interfaces:
java.io.Serializable

public class PythonModule
extends ExternalInterfaceModule

An ExternalInterfaceModule that runs some arbitrary python.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.partnersoft.v3x.apps.Staker.interfaces.ExternalInterfaceModule
verbose
 
Constructor Summary
PythonModule()
           
 
Method Summary
 java.lang.Object createExternalJob(Job job)
          Create the specialized "Job" for this interface.
 void export(Job job)
          Exports a single job.
 java.lang.String generateReportFor(Job jobbie)
          Generates a job report.
 java.lang.String getDaemonScript()
           
 java.lang.String getDaemonScriptFile()
           
 boolean getDebug()
           
 java.lang.String getExportScript()
           
 java.lang.String getExportScriptFile()
           
 java.lang.String getImportScript()
           
 java.lang.String getImportScriptFile()
           
 void runImport(JobLibrarian librarian)
          Makes an import run.
 void setDaemonScript(java.lang.String newScript)
           
 void setDaemonScriptFile(java.lang.String newScriptFile)
           
 void setDebug(boolean newDebug)
           
 void setExportScript(java.lang.String newScript)
           
 void setExportScriptFile(java.lang.String newScriptFile)
           
 void setImportScript(java.lang.String newScript)
           
 void setImportScriptFile(java.lang.String newScriptFile)
           
 
Methods inherited from class com.partnersoft.v3x.apps.Staker.interfaces.ExternalInterfaceModule
getDoNotExportField, getExportOnce, getExportOnceProperty, getHub, getLibrarian, getLog, getName, getRunInterval, getRunLag, getSynchronousExport, haltInterface, isExporting, isImporting, isInterfaceRunning, isVerbose, launchInterface, setDoNotExportField, setExporting, setExportOnce, setExportOnceProperty, setHub, setImporting, setLibrarian, setName, setRunInterval, setRunLag, setSynchronousExport, setVerbose, updateJob
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PythonModule

public PythonModule()
Method Detail

runImport

public void runImport(JobLibrarian librarian)
Description copied from class: ExternalInterfaceModule
Makes an import run. Do what you gotta do.

Specified by:
runImport in class ExternalInterfaceModule

export

public void export(Job job)
Description copied from class: ExternalInterfaceModule
Exports a single job. Do what you gotta do.

Specified by:
export in class ExternalInterfaceModule

createExternalJob

public java.lang.Object createExternalJob(Job job)
Description copied from class: ExternalInterfaceModule
Create the specialized "Job" for this interface. Often this has some sort of subset or superset or disjoint set of the data actually stored by the staking system.

Specified by:
createExternalJob in class ExternalInterfaceModule

generateReportFor

public java.lang.String generateReportFor(Job jobbie)
Description copied from class: ExternalInterfaceModule
Generates a job report. Not always applicable; if so use return "".

Specified by:
generateReportFor in class ExternalInterfaceModule

getDebug

public boolean getDebug()

setDebug

public void setDebug(boolean newDebug)

getExportScriptFile

public java.lang.String getExportScriptFile()

setExportScriptFile

public void setExportScriptFile(java.lang.String newScriptFile)

getImportScriptFile

public java.lang.String getImportScriptFile()

setImportScriptFile

public void setImportScriptFile(java.lang.String newScriptFile)

getDaemonScriptFile

public java.lang.String getDaemonScriptFile()

setDaemonScriptFile

public void setDaemonScriptFile(java.lang.String newScriptFile)

getExportScript

public java.lang.String getExportScript()

setExportScript

public void setExportScript(java.lang.String newScript)

getImportScript

public java.lang.String getImportScript()

setImportScript

public void setImportScript(java.lang.String newScript)

getDaemonScript

public java.lang.String getDaemonScript()

setDaemonScript

public void setDaemonScript(java.lang.String newScript)