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

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

public class GenericInterfaceModule
extends ExternalInterfaceModule

Really, a generic interface module. Really.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.partnersoft.v3x.apps.Staker.interfaces.ExternalInterfaceModule
verbose
 
Constructor Summary
GenericInterfaceModule()
          Create a new GenericInterfaceModule.
 
Method Summary
 java.lang.Object createExternalJob(Job job)
          Create the specialized "Job" for this interface.
 void export(Job jobbie)
          Exports a single job.
 java.lang.String generateReportFor(Job jobbie)
          Generates a job report.
 ExternalDataInput getInput()
          Specification for data input.
 void runImport(JobLibrarian librarian)
          Makes an import run.
 void setInput(ExternalDataInput newInput)
          Specification for data input.
 
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

GenericInterfaceModule

public GenericInterfaceModule()
Create a new GenericInterfaceModule.

Method Detail

getInput

public ExternalDataInput getInput()
Specification for data input.


setInput

public void setInput(ExternalDataInput newInput)
Specification for data input.


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 jobbie)
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