public class JobEntryGetPOP extends JobEntryBase implements Cloneable, JobEntryInterface
Modifier and Type | Field and Description |
---|---|
int |
actiontype |
int |
aftergetimap |
int |
conditionReceivedDate |
static String |
DATE_PATTERN |
int |
retrievemails |
int |
valueimaplist |
Constructor and Description |
---|
JobEntryGetPOP() |
JobEntryGetPOP(String n) |
Modifier and Type | Method and Description |
---|---|
void |
check(List<org.pentaho.di.core.CheckResultInterface> remarks,
JobMeta jobMeta,
org.pentaho.di.core.variables.VariableSpace space,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
Allows JobEntry objects to check themselves for consistency
|
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.
|
org.pentaho.di.core.Result |
execute(org.pentaho.di.core.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,
org.pentaho.metastore.api.IMetaStore metaStore,
org.pentaho.di.repository.ObjectId id_jobentry,
List<org.pentaho.di.core.database.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<org.pentaho.di.core.database.DatabaseMeta> databases,
List<SlaveServer> slaveServers,
Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore)
This method is called by PDI whenever a job entry needs to read its settings from XML.
|
void |
saveRep(Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
org.pentaho.di.repository.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) |
check, clear, copyVariablesFrom, environmentSubstitute, environmentSubstitute, equals, exportResources, exportResources, fieldSubstitute, getAttribute, getAttributes, getAttributesMap, getBooleanValueOfVariable, getContainerObjectId, getDescription, getDialogClassName, getExtensionDataMap, getFilename, getHolderType, getLogChannel, getLogChannelId, getLogLevel, getMetaStore, getName, getObjectCopy, getObjectId, getObjectName, getObjectRevision, getObjectType, getParent, getParentJob, getParentVariableSpace, getPluginId, getRealFilename, getReferencedObjectDescriptions, getRegistrationDate, getRepository, getRepositoryDirectory, getSQLStatements, getSQLStatements, getSQLStatements, getTypeDesc, getTypeId, getUsedDatabaseConnections, getVariable, getVariable, hasChanged, hasRepositoryReferences, initializeVariablesFrom, injectVariables, isBasic, isDebug, isDetailed, isDummy, isEvaluation, isForcingSeparateLogging, isFTP, isGatheringMetrics, isHTTP, isJob, isMail, isReferencedObjectEnabled, isRowlevel, isSFTP, isShell, isSpecial, isStart, isTransformation, isUnconditional, listVariables, loadReferencedObject, loadReferencedObject, loadRep, loadXML, loadXML, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, lookupRepositoryReferences, parseRepositoryObjects, resetErrorsBeforeExecution, saveRep, setAttribute, setAttributes, setAttributesMap, setChanged, setChanged, setContainerObjectId, setDescription, setForcingSeparateLogging, setGatheringMetrics, setID, setLogLevel, setMetaStore, setName, setObjectId, setParentJob, setParentVariableSpace, setPluginId, setRepository, setTypeId, setVariable, shareVariablesWith, toString
getClass, hashCode, notify, notifyAll, wait, wait, wait
check, clear, exportResources, exportResources, getDescription, getDialogClassName, getFilename, getLogChannel, getName, getObjectId, getParentJob, getPluginId, getRealFilename, getReferencedObjectDescriptions, getSQLStatements, getSQLStatements, getSQLStatements, getTypeId, getUsedDatabaseConnections, hasChanged, hasRepositoryReferences, isDummy, isEvaluation, isJob, isMail, isReferencedObjectEnabled, isShell, isSpecial, isStart, isTransformation, isUnconditional, loadReferencedObject, loadReferencedObject, loadRep, loadXML, lookupRepositoryReferences, resetErrorsBeforeExecution, saveRep, setChanged, setChanged, setDescription, setMetaStore, setName, setObjectId, setParentJob, setPluginId, setRepository
public int actiontype
public int conditionReceivedDate
public int valueimaplist
public int aftergetimap
public int retrievemails
public static final String DATE_PATTERN
public JobEntryGetPOP(String n)
public JobEntryGetPOP()
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<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep, org.pentaho.metastore.api.IMetaStore metaStore) throws org.pentaho.di.core.exception.KettleXMLException
JobEntryInterface
loadXML
in interface JobEntryInterface
loadXML
in class JobEntryBase
entrynode
- the top-level XML nodedatabases
- the list of databasesslaveServers
- the list of slave serversrep
- the repository objectmetaStore
- The metaStore to optionally load from.org.pentaho.di.core.exception.KettleXMLException
- if any errors occur during the loading of the XMLpublic int getValueImapList()
public void setValueImapList(int value)
public void loadRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_jobentry, List<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers) throws org.pentaho.di.core.exception.KettleException
JobEntryInterface
loadRep
in interface JobEntryInterface
loadRep
in class JobEntryBase
rep
- the repository objectmetaStore
- the MetaStore to useid_jobentry
- the id of the job entrydatabases
- the list of databasesslaveServers
- the list of slave serversorg.pentaho.di.core.exception.KettleException
- if any errors occur during the loadpublic void saveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_job) throws org.pentaho.di.core.exception.KettleException
JobEntryInterface
saveRep
in interface JobEntryInterface
saveRep
in class JobEntryBase
rep
- the repositorymetaStore
- the MetaStore to useid_job
- the id_joborg.pentaho.di.core.exception.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 org.pentaho.di.core.Result execute(org.pentaho.di.core.Result previousResult, int nr) throws org.pentaho.di.core.exception.KettleException
JobEntryInterface
execute
in interface JobEntryInterface
previousResult
- the previous resultnr
- the number of rowsorg.pentaho.di.core.exception.KettleException
- if any Kettle exceptions occurpublic boolean evaluates()
JobEntryBase
evaluates
in interface JobEntryInterface
evaluates
in class JobEntryBase
public void check(List<org.pentaho.di.core.CheckResultInterface> remarks, JobMeta jobMeta, org.pentaho.di.core.variables.VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore)
JobEntryBase
check
in interface JobEntryInterface
check
in class JobEntryBase
remarks
- List of CheckResult objects indicating consistency statusjobMeta
- the metadata object for the job entryspace
- the variable space to resolve string expressions with variables withrepository
- the repository to load Kettle objects frommetaStore
- the MetaStore to load common elements frompublic List<ResourceReference> getResourceDependencies(JobMeta jobMeta)
JobEntryBase
getResourceDependencies
in interface JobEntryInterface
getResourceDependencies
in class JobEntryBase
ResourceReference