当前位置: 首页>>代码示例>>Java>>正文


Java JobEntryTelnet类代码示例

本文整理汇总了Java中org.pentaho.di.job.entries.telnet.JobEntryTelnet的典型用法代码示例。如果您正苦于以下问题:Java JobEntryTelnet类的具体用法?Java JobEntryTelnet怎么用?Java JobEntryTelnet使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


JobEntryTelnet类属于org.pentaho.di.job.entries.telnet包,在下文中一共展示了JobEntryTelnet类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: JobEntryTelnetDialog

import org.pentaho.di.job.entries.telnet.JobEntryTelnet; //导入依赖的package包/类
public JobEntryTelnetDialog(Shell parent, JobEntryInterface jobEntryInt, Repository rep, JobMeta jobMeta)
{
    super(parent, jobEntryInt, rep, jobMeta);
    jobEntry = (JobEntryTelnet) jobEntryInt;
    if (this.jobEntry.getName() == null)
        this.jobEntry.setName(BaseMessages.getString(PKG, "JobTelnet.Name.Default"));
}
 
开发者ID:jjeb,项目名称:kettle-trunk,代码行数:8,代码来源:JobEntryTelnetDialog.java

示例2: getData

import org.pentaho.di.job.entries.telnet.JobEntryTelnet; //导入依赖的package包/类
/**
   * Copy information from the meta-data input to the dialog fields.
   */
  public void getData()
  {
      if (jobEntry.getName() != null)  wName.setText(jobEntry.getName());
      wName.selectAll();
      if (jobEntry.getHostname() != null) wHostname.setText(jobEntry.getHostname());

wPort.setText(Const.NVL(jobEntry.getPort(), String.valueOf(JobEntryTelnet.DEFAULT_PORT)));
wTimeOut.setText(Const.NVL(jobEntry.getTimeOut(), String.valueOf(JobEntryTelnet.DEFAULT_TIME_OUT)));

  }
 
开发者ID:jjeb,项目名称:kettle-trunk,代码行数:14,代码来源:JobEntryTelnetDialog.java

示例3: JobEntryTelnetDialog

import org.pentaho.di.job.entries.telnet.JobEntryTelnet; //导入依赖的package包/类
public JobEntryTelnetDialog( Shell parent, JobEntryInterface jobEntryInt, Repository rep, JobMeta jobMeta ) {
  super( parent, jobEntryInt, rep, jobMeta );
  jobEntry = (JobEntryTelnet) jobEntryInt;
  if ( this.jobEntry.getName() == null ) {
    this.jobEntry.setName( BaseMessages.getString( PKG, "JobTelnet.Name.Default" ) );
  }
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:8,代码来源:JobEntryTelnetDialog.java

示例4: getData

import org.pentaho.di.job.entries.telnet.JobEntryTelnet; //导入依赖的package包/类
/**
 * Copy information from the meta-data input to the dialog fields.
 */
public void getData() {
  wName.setText( Const.nullToEmpty( jobEntry.getName() ) );
  if ( jobEntry.getHostname() != null ) {
    wHostname.setText( jobEntry.getHostname() );
  }

  wPort.setText( Const.NVL( jobEntry.getPort(), String.valueOf( JobEntryTelnet.DEFAULT_PORT ) ) );
  wTimeOut.setText( Const.NVL( jobEntry.getTimeOut(), String.valueOf( JobEntryTelnet.DEFAULT_TIME_OUT ) ) );

  wName.selectAll();
  wName.setFocus();
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:16,代码来源:JobEntryTelnetDialog.java


注:本文中的org.pentaho.di.job.entries.telnet.JobEntryTelnet类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。