|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openpipeline.pipeline.connector.FileScanner
public class FileScanner
A connector that scans a file system and processes the files it finds.
| Constructor Summary | |
|---|---|
FileScanner()
|
|
| Method Summary | |
|---|---|
void |
execute()
Run this Connector. |
String |
getDescription()
Return a description of the Connector for display in the Admin UI, for example, "Scans my data and processes it in a special way" |
String |
getDisplayName()
Return the name of the Connector to display in the Admin UI, for example, "My Connector" |
String |
getLastMessage()
Returns the most recent status message from the job. |
String |
getLogLink()
Return the link the admin interface should use to display log files associated with this job. |
String |
getPageName()
Return the name of the page in the Admin UI to edit the parameters, for example, "connector_myconnector.jsp". |
String |
getShortName()
Return the name to use when creating a name for a connector instance on the Add Job page in the Admin UI, for example, "MyConnector". |
void |
interrupt()
Interrupt the execution of this connector. |
void |
setParams(XMLConfig params)
Configure this connector. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileScanner()
| Method Detail |
|---|
public void execute()
PipelineJob
execute in interface PipelineJobpublic void interrupt()
PipelineJob
interrupt in interface PipelineJobpublic void setParams(XMLConfig params)
PipelineJob
setParams in interface PipelineJobparams - parameters defined in an XML filepublic String getLastMessage()
PipelineJob
getLastMessage in interface PipelineJobpublic String getDisplayName()
PipelineJob
getDisplayName in interface PipelineJobpublic String getDescription()
PipelineJob
getDescription in interface PipelineJobpublic String getPageName()
PipelineJob
getPageName in interface PipelineJobpublic String getShortName()
PipelineJob
getShortName in interface PipelineJobpublic String getLogLink()
PipelineJob
getLogLink in interface PipelineJob
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||