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