本文整理汇总了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"));
}
示例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)));
}
示例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" ) );
}
}
示例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();
}