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


Java Job.getName方法代码示例

本文整理汇总了Java中org.pentaho.di.job.Job.getName方法的典型用法代码示例。如果您正苦于以下问题:Java Job.getName方法的具体用法?Java Job.getName怎么用?Java Job.getName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.pentaho.di.job.Job的用法示例。


在下文中一共展示了Job.getName方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: addFileToResultFilenames

import org.pentaho.di.job.Job; //导入方法依赖的package包/类
private void addFileToResultFilenames(String fileaddentry,LogWriter log,Result result,Job parentJob)
	{	
		try
		{
			ResultFile resultFile = new ResultFile(ResultFile.FILE_TYPE_GENERAL, KettleVFS.getFileObject(fileaddentry), parentJob.getName(), toString());
			result.getResultFiles().put(resultFile.getFile().toString(), resultFile);
	    
			if(log.isDetailed())
			{
				log.logDetailed(toString(),Messages.getString("JobXMLWellFormed.Log.FileAddedToResultFilesName",fileaddentry));
			}
			
		}catch (Exception e)
		{
			log.logError(toString(),Messages.getString("JobXMLWellFormed.Error.AddingToFilenameResult",fileaddentry,e.getMessage()));
		}

}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:19,代码来源:JobEntryXMLWellFormed.java

示例2: addFileToResultFilenames

import org.pentaho.di.job.Job; //导入方法依赖的package包/类
private void addFileToResultFilenames(String fileaddentry,Result result,Job parentJob)
	{	
		try
		{
			ResultFile resultFile = new ResultFile(ResultFile.FILE_TYPE_GENERAL, KettleVFS.getFileObject(fileaddentry, this), parentJob.getName(), toString());
			result.getResultFiles().put(resultFile.getFile().toString(), resultFile);
	    
			if(log.isDetailed())
			{
				logDetailed(BaseMessages.getString(PKG, "JobXMLWellFormed.Log.FileAddedToResultFilesName",fileaddentry));
			}
			
		}catch (Exception e)
		{
			logError(BaseMessages.getString(PKG, "JobXMLWellFormed.Error.AddingToFilenameResult",fileaddentry,e.getMessage()));
		}

}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:19,代码来源:JobEntryXMLWellFormed.java

示例3: addFileToResultFilenames

import org.pentaho.di.job.Job; //导入方法依赖的package包/类
private void addFileToResultFilenames(FileObject fileaddentry, Result result,Job parentJob) {	
try	 {
	ResultFile resultFile = new ResultFile(ResultFile.FILE_TYPE_GENERAL, fileaddentry, parentJob.getName(), toString());
	result.getResultFiles().put(resultFile.getFile().toString(), resultFile);
   
	if(isDetailed())
	{
		logDetailed(BaseMessages.getString(PKG, "JobDosToUnix.Log.FileAddedToResultFilesName",fileaddentry));
	}
	
}catch (Exception e) {
	logError(BaseMessages.getString(PKG, "JobDosToUnix.Error.AddingToFilenameResult",fileaddentry.toString(),e.getMessage()));
}
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:15,代码来源:JobEntryDosToUnix.java

示例4: addFileToResultFilenames

import org.pentaho.di.job.Job; //导入方法依赖的package包/类
private void addFileToResultFilenames(String fileaddentry,Result result,Job parentJob)
{	
	try {
		ResultFile resultFile = new ResultFile(ResultFile.FILE_TYPE_GENERAL, KettleVFS.getFileObject(fileaddentry), parentJob.getName(), toString());
		result.getResultFiles().put(resultFile.getFile().toString(), resultFile);
    
		if(isDebug()) {
			logDebug(" ------ ");
			logDebug(BaseMessages.getString(PKG, "JobPGPDecryptFiles.Log.FileAddedToResultFilesName",fileaddentry));
		}
		
	}catch (Exception e) {
		logError(BaseMessages.getString(PKG, "JobPGPDecryptFiles.Error.AddingToFilenameResult"),fileaddentry + ""+e.getMessage());
	}
  }
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:16,代码来源:JobEntryPGPDecryptFiles.java

示例5: addFileToResultFilenames

import org.pentaho.di.job.Job; //导入方法依赖的package包/类
private void addFileToResultFilenames(String fileaddentry,Result result,Job parentJob)
{	
	try {
		ResultFile resultFile = new ResultFile(ResultFile.FILE_TYPE_GENERAL, KettleVFS.getFileObject(fileaddentry), parentJob.getName(), toString());
		result.getResultFiles().put(resultFile.getFile().toString(), resultFile);
    
		if(isDebug()) {
			logDebug(" ------ ");
			logDebug(BaseMessages.getString(PKG, "JobPGPEncryptFiles.Log.FileAddedToResultFilesName",fileaddentry));
		}
		
	}catch (Exception e) {
		logError(BaseMessages.getString(PKG, "JobPGPEncryptFiles.Error.AddingToFilenameResult"),fileaddentry + ""+e.getMessage());
	}
  }
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:16,代码来源:JobEntryPGPEncryptFiles.java


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