|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.di.job.entry.JobEntryBase
org.pentaho.di.job.entries.ftpput.JobEntryFTPPUT
public class JobEntryFTPPUT
This defines an FTP put job entry.
Constructor Summary | |
---|---|
JobEntryFTPPUT()
|
|
JobEntryFTPPUT(String n)
|
Method Summary | |
---|---|
void |
check(List<org.pentaho.di.core.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. |
org.pentaho.di.core.Result |
execute(org.pentaho.di.core.Result previousResult,
int nr)
|
String |
getControlEncoding()
Get the control encoding to be used for ftp'ing |
String |
getLocalDirectory()
|
String |
getPassword()
|
String |
getProxyHost()
|
String |
getProxyPassword()
|
String |
getProxyPort()
|
String |
getProxyUsername()
|
String |
getRemoteDirectory()
|
boolean |
getRemove()
|
List<ResourceReference> |
getResourceDependencies(JobMeta jobMeta)
Get a list of all the resource dependencies that the step is depending on. |
String |
getServerName()
|
String |
getServerPort()
|
String |
getSocksProxyHost()
|
String |
getSocksProxyPassword()
|
String |
getSocksProxyPort()
|
String |
getSocksProxyUsername()
|
int |
getTimeout()
|
String |
getUserName()
|
String |
getWildcard()
|
String |
getXML()
|
boolean |
isActiveConnection()
|
boolean |
isBinaryMode()
|
boolean |
isOnlyPuttingNewFiles()
|
void |
loadRep(Repository rep,
org.pentaho.di.repository.ObjectId id_jobentry,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
List<SlaveServer> slaveServers)
|
void |
loadXML(Node entrynode,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
List<SlaveServer> slaveServers,
Repository rep)
|
void |
saveRep(Repository rep,
org.pentaho.di.repository.ObjectId id_job)
|
void |
setActiveConnection(boolean activeConnection)
|
void |
setBinaryMode(boolean binaryMode)
|
void |
setControlEncoding(String encoding)
Set the encoding to be used for ftp'ing. |
void |
setLocalDirectory(String directory)
|
void |
setOnlyPuttingNewFiles(boolean onlyPuttingNewFiles)
|
void |
setPassword(String password)
|
void |
setProxyHost(String proxyHost)
|
void |
setProxyPassword(String proxyPassword)
|
void |
setProxyPort(String proxyPort)
|
void |
setProxyUsername(String proxyUsername)
|
void |
setRemoteDirectory(String directory)
|
void |
setRemove(boolean remove)
|
void |
setServerName(String serverName)
|
void |
setServerPort(String serverPort)
|
void |
setSocksProxyHost(String socksProxyHost)
|
void |
setSocksProxyPassword(String socksProxyPassword)
|
void |
setSocksProxyPort(String socksProxyPort)
|
void |
setSocksProxyUsername(String socksProxyUsername)
|
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 |
Constructor Detail |
---|
public JobEntryFTPPUT(String n)
public JobEntryFTPPUT()
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<org.pentaho.di.core.database.DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep) throws org.pentaho.di.core.exception.KettleXMLException
loadXML
in interface JobEntryInterface
org.pentaho.di.core.exception.KettleXMLException
public void loadRep(Repository rep, 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
loadRep
in interface JobEntryInterface
loadRep
in class JobEntryBase
org.pentaho.di.core.exception.KettleException
public void saveRep(Repository rep, org.pentaho.di.repository.ObjectId id_job) throws org.pentaho.di.core.exception.KettleException
saveRep
in interface JobEntryInterface
saveRep
in class JobEntryBase
org.pentaho.di.core.exception.KettleException
public boolean isBinaryMode()
public void setBinaryMode(boolean binaryMode)
binaryMode
- The binaryMode to set.public void setTimeout(int timeout)
timeout
- The timeout to set.public int getTimeout()
public boolean isOnlyPuttingNewFiles()
public void setOnlyPuttingNewFiles(boolean onlyPuttingNewFiles)
onlyPuttingNewFiles
- Only transfer new files to the remote hostpublic String getControlEncoding()
public void setControlEncoding(String encoding)
encoding
- The encoding to be used.public String getRemoteDirectory()
public void setRemoteDirectory(String directory)
directory
- The remoteDirectory 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 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 getLocalDirectory()
public void setLocalDirectory(String directory)
directory
- The localDirectory to set.public void setRemove(boolean remove)
remove
- The remove to set.public boolean getRemove()
public String getServerPort()
public void setServerPort(String serverPort)
public boolean isActiveConnection()
public void setActiveConnection(boolean activeConnection)
activeConnection
- set to true to get an active FTP connectionpublic 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 ftp-proxy.public String getProxyUsername()
public void setSocksProxyHost(String socksProxyHost)
socksProxyHost
- The socks proxy host to setpublic void setSocksProxyPort(String socksProxyPort)
socksProxyPort
- The socks proxy port to setpublic void setSocksProxyUsername(String socksProxyUsername)
socksProxyUsername
- The socks proxy username to setpublic void setSocksProxyPassword(String socksProxyPassword)
socksProxyPassword
- The socks proxy password to setpublic String getSocksProxyHost()
public String getSocksProxyPort()
public String getSocksProxyUsername()
public String getSocksProxyPassword()
public void setProxyUsername(String proxyUsername)
proxyUsername
- The username which is used to authenticate at the proxy.public org.pentaho.di.core.Result execute(org.pentaho.di.core.Result previousResult, int nr)
execute
in interface JobEntryInterface
public boolean evaluates()
JobEntryBase
evaluates
in interface JobEntryInterface
evaluates
in class JobEntryBase
public List<ResourceReference> getResourceDependencies(JobMeta jobMeta)
JobEntryBase
getResourceDependencies
in interface JobEntryInterface
getResourceDependencies
in class JobEntryBase
public void check(List<org.pentaho.di.core.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 |