|
||||||||||
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.ftpsget.JobEntryFTPSGet
public class JobEntryFTPSGet
This defines an FTPS job entry.
Constructor Summary | |
---|---|
JobEntryFTPSGet()
|
|
JobEntryFTPSGet(String n)
|
Method Summary | |
---|---|
void |
check(List<CheckResultInterface> remarks,
JobMeta jobMeta)
Support for overrides not having to put in a check method |
Object |
clone()
|
boolean |
evaluates()
check whether or not this job entry evaluates. |
Result |
execute(Result previousResult,
int nr)
|
int |
getConnectionType()
|
String |
getDateTimeFormat()
|
String |
getFTPSDirectory()
|
String |
getLimit()
|
String |
getMoveToDirectory()
|
String |
getPassword()
|
String |
getPort()
|
String |
getProxyHost()
|
String |
getProxyPassword()
|
String |
getProxyPort()
|
String |
getProxyUsername()
|
boolean |
getRemove()
|
List<ResourceReference> |
getResourceDependencies(JobMeta jobMeta)
Get a list of all the resource dependencies that the step is depending on. |
String |
getServerName()
|
String |
getSuccessCondition()
|
String |
getTargetDirectory()
|
int |
getTimeout()
|
String |
getUserName()
|
String |
getWildcard()
|
String |
getXML()
|
boolean |
isActiveConnection()
|
boolean |
isAddDateBeforeExtension()
|
boolean |
isAddToResult()
|
boolean |
isBinaryMode()
|
boolean |
isCreateMoveFolder()
|
boolean |
isDateInFilename()
|
boolean |
isMoveFiles()
|
boolean |
isOnlyGettingNewFiles()
|
boolean |
isSpecifyFormat()
|
boolean |
isTimeInFilename()
|
void |
loadRep(Repository rep,
ObjectId id_jobentry,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers)
|
void |
loadXML(Node entrynode,
List<DatabaseMeta> databases,
List<SlaveServer> slaveServers,
Repository rep)
|
String |
normalizePath(String path)
normalize / to \ and remove trailing slashes from a path |
void |
saveRep(Repository rep,
ObjectId id_job)
|
void |
setActiveConnection(boolean passive)
|
void |
setAddDateBeforeExtension(boolean AddDateBeforeExtension)
|
void |
setAddToResult(boolean isaddresultin)
|
void |
setBinaryMode(boolean binaryMode)
|
void |
setConnectionType(int type)
|
void |
setCreateMoveFolder(boolean createmovefolderin)
|
void |
setDateInFilename(boolean adddate)
|
void |
setDateTimeFormat(String date_time_format)
|
void |
setFTPSDirectory(String directory)
|
void |
setLimit(String nr_limitin)
|
void |
setMoveFiles(boolean movefilesin)
|
void |
setMoveToDirectory(String movetoin)
|
void |
setOnlyGettingNewFiles(boolean onlyGettingNewFilesin)
|
void |
setPassword(String password)
|
void |
setPort(String port)
|
void |
setProxyHost(String proxyHost)
|
void |
setProxyPassword(String proxyPassword)
|
void |
setProxyPort(String proxyPort)
|
void |
setProxyUsername(String proxyUsername)
|
void |
setRemove(boolean remove)
|
void |
setServerName(String serverName)
|
void |
setSpecifyFormat(boolean SpecifyFormat)
|
void |
setSuccessCondition(String success_condition)
|
void |
setTargetDirectory(String targetDirectory)
|
void |
setTimeInFilename(boolean addtime)
|
void |
setTimeout(int timeout)
|
void |
setUserName(String userName)
|
void |
setWildcard(String wildcard)
|
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 ifFileExistsSkip
public String SifFileExistsSkip
public int ifFileExistsCreateUniq
public String SifFileExistsCreateUniq
public int ifFileExistsFail
public String SifFileExistsFail
public int ifFileExists
public String SifFileExists
public String SUCCESS_IF_AT_LEAST_X_FILES_DOWNLOADED
public String SUCCESS_IF_ERRORS_LESS
public String SUCCESS_IF_NO_ERRORS
Constructor Detail |
---|
public JobEntryFTPSGet(String n)
public JobEntryFTPSGet()
Method Detail |
---|
public Object clone()
clone
in interface JobEntryInterface
clone
in class JobEntryBase
public String getXML()
getXML
in interface JobEntryInterface
getXML
in class JobEntryBase
public void loadXML(Node entrynode, List<DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep) throws KettleXMLException
loadXML
in interface JobEntryInterface
KettleXMLException
public void loadRep(Repository rep, ObjectId id_jobentry, List<DatabaseMeta> databases, List<SlaveServer> slaveServers) throws KettleException
loadRep
in interface JobEntryInterface
loadRep
in class JobEntryBase
KettleException
public void saveRep(Repository rep, ObjectId id_job) throws KettleException
saveRep
in interface JobEntryInterface
saveRep
in class JobEntryBase
KettleException
public void setLimit(String nr_limitin)
public String getLimit()
public void setSuccessCondition(String success_condition)
public String getSuccessCondition()
public void setCreateMoveFolder(boolean createmovefolderin)
public boolean isCreateMoveFolder()
public void setAddDateBeforeExtension(boolean AddDateBeforeExtension)
public boolean isAddDateBeforeExtension()
public void setAddToResult(boolean isaddresultin)
public boolean isAddToResult()
public void setDateInFilename(boolean adddate)
public boolean isDateInFilename()
public void setTimeInFilename(boolean addtime)
public boolean isTimeInFilename()
public boolean isSpecifyFormat()
public void setSpecifyFormat(boolean SpecifyFormat)
public String getDateTimeFormat()
public void setDateTimeFormat(String date_time_format)
public boolean isMoveFiles()
public void setMoveFiles(boolean movefilesin)
movefilesin
- The movefiles to set.public String getMoveToDirectory()
public void setMoveToDirectory(String movetoin)
movetoin
- The movetodirectory to set.public boolean isBinaryMode()
public void setBinaryMode(boolean binaryMode)
binaryMode
- The binaryMode to set.public String getFTPSDirectory()
public void setFTPSDirectory(String directory)
directory
- The directory to set.public String getPassword()
public void setPassword(String password)
password
- The password to set.public String getServerName()
public void setServerName(String serverName)
serverName
- The serverName to set.public String getPort()
public void setPort(String port)
port
- The port to set.public String getUserName()
public void setUserName(String userName)
userName
- The userName to set.public String getWildcard()
public void setWildcard(String wildcard)
wildcard
- The wildcard to set.public String getTargetDirectory()
public void setTargetDirectory(String targetDirectory)
targetDirectory
- The targetDirectory to set.public void setTimeout(int timeout)
timeout
- The timeout to set.public int getTimeout()
public void setRemove(boolean remove)
remove
- The remove to set.public boolean getRemove()
public boolean isOnlyGettingNewFiles()
public void setOnlyGettingNewFiles(boolean onlyGettingNewFilesin)
onlyGettingNewFiles
- The onlyGettingNewFiles to set.public String getProxyHost()
public void setProxyHost(String proxyHost)
proxyHost
- The hostname of the proxy.public String getProxyPassword()
public void setProxyPassword(String proxyPassword)
proxyPassword
- The password which is used to authenticate at the proxy.public String getProxyPort()
public void setProxyPort(String proxyPort)
proxyPort
- The port of the FTPS-proxy.public String getProxyUsername()
public void setProxyUsername(String proxyUsername)
proxyUsername
- The username which is used to authenticate at the proxy.public Result execute(Result previousResult, int nr) throws KettleException
execute
in interface JobEntryInterface
KettleException
public String normalizePath(String path) throws Exception
path
-
Exception
public boolean evaluates()
JobEntryBase
evaluates
in interface JobEntryInterface
evaluates
in class JobEntryBase
public boolean isActiveConnection()
public int getConnectionType()
public void setConnectionType(int type)
connectionType
- the connectionType to setpublic void setActiveConnection(boolean passive)
activeConnection
- the activeConnection to setpublic List<ResourceReference> getResourceDependencies(JobMeta jobMeta)
JobEntryBase
getResourceDependencies
in interface JobEntryInterface
getResourceDependencies
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 possible
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |