Codota Logo
FTPSConnection.getConnectionTypeByCode
Code IndexAdd Codota to your IDE (free)

How to use
getConnectionTypeByCode
method
in
org.pentaho.di.job.entries.ftpsget.FTPSConnection

Best Java code snippets using org.pentaho.di.job.entries.ftpsget.FTPSConnection.getConnectionTypeByCode (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: pentaho/pentaho-kettle

  Const.NVL( XMLHandler.getTagValue( entrynode, "success_condition" ), SUCCESS_IF_NO_ERRORS );
 connectionType =
  FTPSConnection.getConnectionTypeByCode( Const.NVL(
   XMLHandler.getTagValue( entrynode, "connection_type" ), "" ) );
} catch ( Exception xe ) {
origin: pentaho/pentaho-kettle

public void loadXML( Node entrynode, List<DatabaseMeta> databases, List<SlaveServer> slaveServers,
 Repository rep, IMetaStore metaStore ) throws KettleXMLException {
 try {
  super.loadXML( entrynode, databases, slaveServers );
  serverName = XMLHandler.getTagValue( entrynode, "servername" );
  serverPort = XMLHandler.getTagValue( entrynode, "serverport" );
  userName = XMLHandler.getTagValue( entrynode, "username" );
  password = Encr.decryptPasswordOptionallyEncrypted( XMLHandler.getTagValue( entrynode, "password" ) );
  remoteDirectory = XMLHandler.getTagValue( entrynode, "remoteDirectory" );
  localDirectory = XMLHandler.getTagValue( entrynode, "localDirectory" );
  wildcard = XMLHandler.getTagValue( entrynode, "wildcard" );
  binaryMode = "Y".equalsIgnoreCase( XMLHandler.getTagValue( entrynode, "binary" ) );
  timeout = Const.toInt( XMLHandler.getTagValue( entrynode, "timeout" ), 10000 );
  remove = "Y".equalsIgnoreCase( XMLHandler.getTagValue( entrynode, "remove" ) );
  onlyPuttingNewFiles = "Y".equalsIgnoreCase( XMLHandler.getTagValue( entrynode, "only_new" ) );
  activeConnection = "Y".equalsIgnoreCase( XMLHandler.getTagValue( entrynode, "active" ) );
  proxyHost = XMLHandler.getTagValue( entrynode, "proxy_host" );
  proxyPort = XMLHandler.getTagValue( entrynode, "proxy_port" );
  proxyUsername = XMLHandler.getTagValue( entrynode, "proxy_username" );
  proxyPassword = XMLHandler.getTagValue( entrynode, "proxy_password" );
  connectionType =
   FTPSConnection.getConnectionTypeByCode( Const.NVL(
    XMLHandler.getTagValue( entrynode, "connection_type" ), "" ) );
 } catch ( KettleXMLException xe ) {
  throw new KettleXMLException( BaseMessages.getString( PKG, "JobFTPSPUT.Log.UnableToLoadFromXml" ), xe );
 }
}
origin: pentaho/pentaho-kettle

copyprevious = "Y".equalsIgnoreCase( XMLHandler.getTagValue( entrynode, "copyprevious" ) );
FTPSConnectionType =
 FTPSConnection.getConnectionTypeByCode( Const.NVL( XMLHandler.getTagValue(
  entrynode, "ftps_connection_type" ), "" ) );
socksProxyHost = XMLHandler.getTagValue( entrynode, "socksproxy_host" );
origin: pentaho/pentaho-kettle

public void loadRep( Repository rep, IMetaStore metaStore, ObjectId id_jobentry, List<DatabaseMeta> databases,
 List<SlaveServer> slaveServers ) throws KettleException {
 try {
  serverName = rep.getJobEntryAttributeString( id_jobentry, "servername" );
  serverPort = rep.getJobEntryAttributeString( id_jobentry, "serverport" );
  userName = rep.getJobEntryAttributeString( id_jobentry, "username" );
  password =
   Encr.decryptPasswordOptionallyEncrypted( rep.getJobEntryAttributeString( id_jobentry, "password" ) );
  remoteDirectory = rep.getJobEntryAttributeString( id_jobentry, "remoteDirectory" );
  localDirectory = rep.getJobEntryAttributeString( id_jobentry, "localDirectory" );
  wildcard = rep.getJobEntryAttributeString( id_jobentry, "wildcard" );
  binaryMode = rep.getJobEntryAttributeBoolean( id_jobentry, "binary" );
  timeout = (int) rep.getJobEntryAttributeInteger( id_jobentry, "timeout" );
  remove = rep.getJobEntryAttributeBoolean( id_jobentry, "remove" );
  onlyPuttingNewFiles = rep.getJobEntryAttributeBoolean( id_jobentry, "only_new" );
  activeConnection = rep.getJobEntryAttributeBoolean( id_jobentry, "active" );
  proxyHost = rep.getJobEntryAttributeString( id_jobentry, "proxy_host" );
  proxyPort = rep.getJobEntryAttributeString( id_jobentry, "proxy_port" );
  proxyUsername = rep.getJobEntryAttributeString( id_jobentry, "proxy_username" );
  proxyPassword = rep.getJobEntryAttributeString( id_jobentry, "proxy_password" );
  connectionType =
   FTPSConnection.getConnectionTypeByCode( Const.NVL( rep.getJobEntryAttributeString(
    id_jobentry, "connection_type" ), "" ) );
 } catch ( KettleException dbe ) {
  throw new KettleException( BaseMessages.getString( PKG, "JobFTPSPUT.UnableToLoadFromRepo", String
   .valueOf( id_jobentry ) ), dbe );
 }
}
origin: pentaho/pentaho-kettle

success_condition = rep.getJobEntryAttributeString( id_jobentry, "success_condition" );
FTPSConnectionType =
 FTPSConnection.getConnectionTypeByCode( Const.NVL( rep.getJobEntryAttributeString(
  id_jobentry, "ftps_connection_type" ), "" ) );
origin: pentaho/pentaho-kettle

  Const.NVL( rep.getJobEntryAttributeString( id_jobentry, "success_condition" ), SUCCESS_IF_NO_ERRORS );
 connectionType =
  FTPSConnection.getConnectionTypeByCode( Const.NVL( rep.getJobEntryAttributeString(
   id_jobentry, "connection_type" ), "" ) );
} catch ( KettleException dbe ) {
org.pentaho.di.job.entries.ftpsgetFTPSConnectiongetConnectionTypeByCode

Popular methods of FTPSConnection

  • connect
    this method is used to connect to a remote host
  • <init>
  • changeDirectory
    this method change FTP working directory
  • disconnect
    this method is used to disconnect the connection
  • getWorkingDirectory
    Returns the working directory
  • isDirectoryExists
    Checks if a directory exists
  • setBinaryMode
    public void setBinaryMode(boolean type) this method is used to set the transfer type to binary
  • setProxyHost
    this method is used to set the proxy host
  • setProxyPassword
    this method is used to set the proxy password
  • setProxyPort
    this method is used to set the proxy port
  • setProxyUser
    this method is used to set the proxy username
  • createDirectory
    this method is used to create a directory in remote host
  • setProxyUser,
  • createDirectory,
  • deleteFile,
  • downloadFile,
  • getConnectionType,
  • getConnectionTypeByDesc,
  • getConnectionTypeCode,
  • getConnectionTypeDesc,
  • getFileList

Popular in Java

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • getApplicationContext (Context)
  • getSystemService (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now