|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.job.entry.JobEntryBase org.pentaho.di.job.entries.getpop.JobEntryGetPOP
public class JobEntryGetPOP
This defines an get pop job entry.
Field Summary | |
---|---|
int |
actiontype
|
int |
aftergetimap
|
int |
conditionReceivedDate
|
static String |
DATE_PATTERN
|
int |
retrievemails
|
int |
valueimaplist
|
Constructor Summary | |
---|---|
JobEntryGetPOP()
|
|
JobEntryGetPOP(String n)
|
Method Summary | |
---|---|
void |
check(List<CheckResultInterface> remarks,
JobMeta jobMeta)
Support for overrides not having to put in a check method. |
Object |
clone()
This method is called when a job entry is duplicated in Spoon. |
boolean |
evaluates()
This method must return true if the job entry supports the true/false outgoing hops. |
Result |
execute(Result previousResult,
int nr)
Execute the job entry. |
String |
geProxyUsername()
|
int |
getActionType()
|
int |
getAfterGetIMAP()
|
String |
getAttachmentFolder()
|
String |
getAttachmentWildcard()
|
String |
getBodySearch()
|
int |
getConditionOnReceivedDate()
|
boolean |
getDelete()
|
String |
getFilenamePattern()
|
String |
getFirstIMAPMails()
|
String |
getFirstMails()
|
String |
getIMAPFolder()
|
String |
getMoveToIMAPFolder()
|
String |
getOutputDirectory()
|
String |
getPassword()
|
String |
getPort()
|
String |
getProtocol()
|
String |
getProxyUsername()
|
String |
getRealFilenamePattern()
|
String |
getRealFirstMails()
|
String |
getRealOutputDirectory()
|
String |
getRealPassword()
|
String |
getRealPort()
|
String |
getRealProxyUsername()
|
String |
getRealServername()
|
String |
getRealUsername()
|
String |
getReceipientSearch()
|
String |
getReceivedDate1()
|
String |
getReceivedDate2()
|
List<ResourceReference> |
getResourceDependencies(JobMeta jobMeta)
Gets a list of all the resource dependencies that the step is depending on. |
int |
getRetrievemails()
|
String |
getSenderSearchTerm()
|
String |
getServerName()
|
String |
getSubjectSearch()
|
String |
getUserName()
|
int |
getValueImapList()
|
String |
getXML()
This method is called by PDI whenever a job entry needs to serialize its settings to XML. |
boolean |
isCreateLocalFolder()
|
boolean |
isCreateMoveToFolder()
|
boolean |
isDifferentFolderForAttachment()
|
boolean |
isIncludeSubFolders()
|
boolean |
isNotTermBodySearch()
|
boolean |
isNotTermReceipientSearch()
|
boolean |
isNotTermReceivedDateSearch()
|
boolean |
isNotTermSenderSearch()
|
boolean |
isNotTermSubjectSearch()
|
boolean |
isSaveAttachment()
|
boolean |
isSaveMessage()
|
boolean |
isUseProxy()
|
boolean |
isUseSSL()
|
void |
loadRep(Repository rep,
ObjectId id_jobentry,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers)
This method is called by PDI whenever a job entry needs to read its configuration from a PDI repository. |
void |
loadXML(Node entrynode,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers,
Repository rep)
This method is called by PDI whenever a job entry needs to read its settings from XML. |
void |
saveRep(Repository rep,
ObjectId id_job)
This method is called by PDI whenever a job entry needs to save its settings to a PDI repository. |
void |
setActionType(int actiontype)
|
void |
setAfterGetIMAP(int afterget)
|
void |
setAttachmentFolder(String foldername)
|
void |
setAttachmentWildcard(String wildcard)
|
void |
setBodySearch(String bodySearch)
|
void |
setConditionOnReceivedDate(int conditionReceivedDate)
|
void |
setCreateLocalFolder(boolean createfolder)
|
void |
setCreateMoveToFolder(boolean createfolder)
|
void |
setDelete(boolean delete)
|
void |
setDifferentFolderForAttachment(boolean usedifferentfolder)
|
void |
setFilenamePattern(String filenamepattern)
|
void |
setFirstIMAPMails(String firstmails)
|
void |
setFirstMails(String firstmails)
|
void |
setIMAPFolder(String folder)
|
void |
setIncludeSubFolders(boolean includesubfolders)
|
void |
setMoveToIMAPFolder(String foldername)
|
void |
setNotTermBodySearch(boolean notTermBodySearch)
|
void |
setNotTermReceipientSearch(boolean notTermReceipientSearch)
|
void |
setNotTermReceivedDateSearch(boolean notTermReceivedDateSearch)
|
void |
setNotTermSenderSearch(boolean notTermSenderSearch)
|
void |
setNotTermSubjectSearch(boolean notTermSubjectSearch)
|
void |
setOutputDirectory(String outputdirectory)
|
void |
setPassword(String password)
|
void |
setPort(String sslport)
|
void |
setProtocol(String protocol)
|
void |
setProxyUsername(String username)
|
void |
setReceipientSearch(String receipientSearch)
|
void |
setReceivedDate1(String inputDate)
|
void |
setReceivedDate2(String inputDate)
|
void |
setRetrievemails(int nr)
|
void |
setSaveAttachment(boolean saveattachment)
|
void |
setSaveMessage(boolean savemessage)
|
void |
setSenderSearchTerm(String senderSearch)
|
void |
setServerName(String servername)
|
void |
setSubjectSearch(String subjectSearch)
|
void |
setUseProxy(boolean useprox)
|
void |
setUserName(String username)
|
void |
setUseSSL(boolean usessl)
|
void |
setValueImapList(int value)
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.pentaho.di.job.entry.JobEntryInterface |
---|
clear, exportResources, getDescription, getDialogClassName, getFilename, getLogChannel, getName, getObjectId, getParentJob, getPluginId, getRealFilename, getSQLStatements, getSQLStatements, getTypeId, getUsedDatabaseConnections, hasChanged, hasRepositoryReferences, isDummy, isEvaluation, isJob, isMail, isShell, isSpecial, isStart, isTransformation, isUnconditional, lookupRepositoryReferences, resetErrorsBeforeExecution, setChanged, setChanged, setDescription, setName, setObjectId, setParentJob, setPluginId, setRepository |
Field Detail |
---|
public int actiontype
public int conditionReceivedDate
public int valueimaplist
public int aftergetimap
public int retrievemails
public static final String DATE_PATTERN
Constructor Detail |
---|
public JobEntryGetPOP(String n)
public JobEntryGetPOP()
Method Detail |
---|
public Object clone()
JobEntryBase
clone
in interface JobEntryInterface
clone
in class JobEntryBase
public String getXML()
JobEntryBase
getXML
in interface JobEntryInterface
getXML
in class JobEntryBase
public void loadXML(Node entrynode, List<DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep) throws KettleXMLException
JobEntryInterface
loadXML
in interface JobEntryInterface
entrynode
- the top-level XML nodedatabases
- the list of databasesslaveServers
- the list of slave serversrep
- the repository object
KettleXMLException
- if any errors occur during the loading of the XMLpublic int getValueImapList()
public void setValueImapList(int value)
public void loadRep(Repository rep, ObjectId id_jobentry, List<DatabaseMeta> databases, List<SlaveServer> slaveServers) throws KettleException
JobEntryBase
loadRep
in interface JobEntryInterface
loadRep
in class JobEntryBase
rep
- the repository objectid_jobentry
- the id of the job entrydatabases
- the list of databasesslaveServers
- the list of slave servers
KettleException
- if any errors occur during the loadpublic void saveRep(Repository rep, ObjectId id_job) throws KettleException
JobEntryBase
saveRep
in interface JobEntryInterface
saveRep
in class JobEntryBase
rep
- the repository objectid_job
- the id_job
KettleException
- if any errors occur during the savepublic String getPort()
public String getRealPort()
public void setPort(String sslport)
public void setFirstMails(String firstmails)
public String getFirstMails()
public boolean isIncludeSubFolders()
public void setIncludeSubFolders(boolean includesubfolders)
public void setFirstIMAPMails(String firstmails)
public String getFirstIMAPMails()
public void setSenderSearchTerm(String senderSearch)
public String getSenderSearchTerm()
public void setNotTermSenderSearch(boolean notTermSenderSearch)
public boolean isNotTermSenderSearch()
public void setNotTermSubjectSearch(boolean notTermSubjectSearch)
public void setNotTermBodySearch(boolean notTermBodySearch)
public boolean isNotTermSubjectSearch()
public boolean isNotTermBodySearch()
public void setNotTermReceivedDateSearch(boolean notTermReceivedDateSearch)
public boolean isNotTermReceivedDateSearch()
public void setNotTermReceipientSearch(boolean notTermReceipientSearch)
public boolean isNotTermReceipientSearch()
public void setCreateMoveToFolder(boolean createfolder)
public boolean isCreateMoveToFolder()
public void setReceipientSearch(String receipientSearch)
public String getReceipientSearch()
public void setSubjectSearch(String subjectSearch)
public String getSubjectSearch()
public void setBodySearch(String bodySearch)
public String getBodySearch()
public String getReceivedDate1()
public void setReceivedDate1(String inputDate)
public String getReceivedDate2()
public void setReceivedDate2(String inputDate)
public void setMoveToIMAPFolder(String foldername)
public String getMoveToIMAPFolder()
public void setCreateLocalFolder(boolean createfolder)
public boolean isCreateLocalFolder()
public void setConditionOnReceivedDate(int conditionReceivedDate)
public int getConditionOnReceivedDate()
public void setActionType(int actiontype)
public int getActionType()
public void setAfterGetIMAP(int afterget)
public int getAfterGetIMAP()
public String getRealFirstMails()
public void setServerName(String servername)
public String getServerName()
public void setUserName(String username)
public String getUserName()
public void setOutputDirectory(String outputdirectory)
public void setFilenamePattern(String filenamepattern)
public void setRetrievemails(int nr)
public int getRetrievemails()
public String getFilenamePattern()
public String getOutputDirectory()
public String getRealOutputDirectory()
public String getRealFilenamePattern()
public String getRealUsername()
public String getRealServername()
public String getRealProxyUsername()
public String geProxyUsername()
public String getPassword()
public String getRealPassword()
public String getAttachmentFolder()
public void setAttachmentFolder(String foldername)
public void setDelete(boolean delete)
delete
- The delete to set.public boolean getDelete()
public String getProtocol()
public void setProtocol(String protocol)
public String getIMAPFolder()
public void setIMAPFolder(String folder)
public void setAttachmentWildcard(String wildcard)
public String getAttachmentWildcard()
public void setUseSSL(boolean usessl)
usessl
- The usessl to set.public boolean isUseSSL()
public boolean isUseProxy()
public void setUseProxy(boolean useprox)
public boolean isSaveAttachment()
public void setProxyUsername(String username)
public String getProxyUsername()
public void setSaveAttachment(boolean saveattachment)
public boolean isSaveMessage()
public void setSaveMessage(boolean savemessage)
public void setDifferentFolderForAttachment(boolean usedifferentfolder)
public boolean isDifferentFolderForAttachment()
public void setPassword(String password)
password
- The password to set.public Result execute(Result previousResult, int nr) throws KettleException
JobEntryInterface
execute
in interface JobEntryInterface
previousResult
- the previous resultnr
- the number of rows
KettleException
- if any Kettle exceptions occurpublic boolean evaluates()
JobEntryBase
evaluates
in interface JobEntryInterface
evaluates
in class JobEntryBase
public void check(List<CheckResultInterface> remarks, JobMeta jobMeta)
JobEntryBase
check
in interface JobEntryInterface
check
in class JobEntryBase
remarks
- CheckResults from checking the job entryjobMeta
- JobMeta information letting threading back to the JobMeta possiblepublic List<ResourceReference> getResourceDependencies(JobMeta jobMeta)
JobEntryBase
getResourceDependencies
in interface JobEntryInterface
getResourceDependencies
in class JobEntryBase
ResourceReference
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |