本文整理汇总了Java中org.pentaho.di.repository.RepositoryObject类的典型用法代码示例。如果您正苦于以下问题:Java RepositoryObject类的具体用法?Java RepositoryObject怎么用?Java RepositoryObject使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
RepositoryObject类属于org.pentaho.di.repository包,在下文中一共展示了RepositoryObject类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getObjectInformation_GetDatabaseInformation
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
@Test
public void getObjectInformation_GetDatabaseInformation() throws Exception {
KettleDatabaseRepositoryDatabaseDelegate databaseDelegate =
spy( new KettleDatabaseRepositoryDatabaseDelegate( repository ) );
repository.databaseDelegate = databaseDelegate;
RowMeta meta = createMetaForDatabase();
Object[] values = new Object[ meta.size() ];
values[ Arrays.asList( meta.getFieldNames() ).indexOf( KettleDatabaseRepositoryBase.FIELD_DATABASE_NAME ) ] = EXISTING_ID;
doReturn( new RowMetaAndData( meta, values ) )
.when( databaseDelegate )
.getDatabase( new StringObjectId( EXISTING_ID ) );
RepositoryObject actual = repository.getObjectInformation( new StringObjectId( EXISTING_ID ), RepositoryObjectType.DATABASE );
assertEquals( new StringObjectId( EXISTING_ID ), actual.getObjectId() );
assertEquals( EXISTING_ID, actual.getName() );
assertEquals( RepositoryObjectType.DATABASE, actual.getObjectType() );
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:18,代码来源:KettleDatabaseRepository_GetObjectInformation_Test.java
示例2: selectRepositoryTrans
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
private void selectRepositoryTrans() {
RepositoryObject repositoryObject = DialogHelper.selectRepositoryObject( "*.ktr", log );
try {
if ( repositoryObject != null ) {
loadRepositoryTrans( repositoryObject.getName(), repositoryObject.getRepositoryDirectory() );
String path = DialogUtils
.getPath( transMeta.getRepositoryDirectory().getPath(), mappingTransMeta.getRepositoryDirectory().getPath() );
String fullPath = ( path.equals( "/" ) ? "/" : path + "/" ) + mappingTransMeta.getName();
wPath.setText( fullPath );
specificationMethod = ObjectLocationSpecificationMethod.REPOSITORY_BY_NAME;
}
} catch ( KettleException ke ) {
new ErrorDialog( shell,
BaseMessages.getString( PKG, "MappingDialog.ErrorSelectingObject.DialogTitle" ),
BaseMessages.getString( PKG, "MappingDialog.ErrorSelectingObject.DialogMessage" ), ke );
}
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:19,代码来源:MappingDialog.java
示例3: getByReferenceData
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
private void getByReferenceData( ObjectId transObjectId ) {
try {
if ( repository == null ) {
throw new KettleException( BaseMessages.getString(
PKG, "MappingDialog.Exception.NotConnectedToRepository.Message" ) );
}
RepositoryObject transInf = repository.getObjectInformation( transObjectId, RepositoryObjectType.TRANSFORMATION );
String path = DialogUtils
.getPath( transMeta.getRepositoryDirectory().getPath(), transInf.getRepositoryDirectory().getPath() );
String fullPath =
Const.NVL( path, "" ) + "/" + Const.NVL( transInf.getName(), "" );
wPath.setText( fullPath );
} catch ( KettleException e ) {
new ErrorDialog( shell, BaseMessages.getString(
PKG, "MappingDialog.Exception.UnableToReferenceObjectId.Title" ), BaseMessages.getString(
PKG, "MappingDialog.Exception.UnableToReferenceObjectId.Message" ), e );
}
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:19,代码来源:MappingDialog.java
示例4: selectRepositoryTrans
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
private void selectRepositoryTrans() {
RepositoryObject repositoryObject = DialogHelper.selectRepositoryObject( "*.ktr", log );
try {
if ( repositoryObject != null ) {
loadRepositoryTrans( repositoryObject.getName(), repositoryObject.getRepositoryDirectory() );
String path = DialogUtils.getPath( transMeta.getRepositoryDirectory().getPath(),
executorTransMeta.getRepositoryDirectory().getPath() );
String fullPath = ( path.equals( "/" ) ? "/" : path + "/" ) + executorTransMeta.getName();
wPath.setText( fullPath );
specificationMethod = ObjectLocationSpecificationMethod.REPOSITORY_BY_NAME;
}
} catch ( KettleException ke ) {
new ErrorDialog( shell,
BaseMessages.getString( PKG, "TransExecutorDialog.ErrorSelectingObject.DialogTitle" ),
BaseMessages.getString( PKG, "TransExecutorDialog.ErrorSelectingObject.DialogMessage" ), ke );
}
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:19,代码来源:TransExecutorDialog.java
示例5: selectRepositoryTrans
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
private void selectRepositoryTrans() {
RepositoryObject repositoryObject = DialogHelper.selectRepositoryObject( "*.ktr", log );
try {
if ( repositoryObject != null ) {
loadRepositoryTrans( repositoryObject.getName(), repositoryObject.getRepositoryDirectory() );
String path = DialogUtils
.getPath( transMeta.getRepositoryDirectory().getPath(), mappingTransMeta.getRepositoryDirectory().getPath() );
String fullPath = ( path.equals( "/" ) ? "/" : path + "/" ) + mappingTransMeta.getName();
wPath.setText( fullPath );
specificationMethod = ObjectLocationSpecificationMethod.REPOSITORY_BY_NAME;
}
} catch ( KettleException ke ) {
new ErrorDialog( shell,
BaseMessages.getString( PKG, "SingleThreaderDialog.ErrorSelectingObject.DialogTitle" ),
BaseMessages.getString( PKG, "SingleThreaderDialog.ErrorSelectingObject.DialogMessage" ), ke );
}
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:19,代码来源:SingleThreaderDialog.java
示例6: selectRepositoryJob
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
private void selectRepositoryJob() {
RepositoryObject repositoryObject = DialogHelper.selectRepositoryObject( "*.kjb", log );
try {
if ( repositoryObject != null ) {
loadRepositoryJob( repositoryObject.getName(), repositoryObject.getRepositoryDirectory() );
String path = DialogUtils
.getPath( transMeta.getRepositoryDirectory().getPath(), executorJobMeta.getRepositoryDirectory().getPath() );
String fullPath = ( path.equals( "/" ) ? "/" : path + "/" ) + executorJobMeta.getName();
wPath.setText( fullPath );
specificationMethod = ObjectLocationSpecificationMethod.REPOSITORY_BY_NAME;
}
} catch ( KettleException ke ) {
new ErrorDialog( shell,
BaseMessages.getString( PKG, "SingleThreaderDialog.ErrorSelectingObject.DialogTitle" ),
BaseMessages.getString( PKG, "SingleThreaderDialog.ErrorSelectingObject.DialogMessage" ), ke );
}
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:19,代码来源:JobExecutorDialog.java
示例7: selectRepositoryTrans
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
private void selectRepositoryTrans() {
RepositoryObject repositoryObject = DialogHelper.selectRepositoryObject( "*.ktr", log );
try {
if ( repositoryObject != null ) {
loadRepositoryTrans( repositoryObject.getName(), repositoryObject.getRepositoryDirectory() );
String path = DialogUtils
.getPath( transMeta.getRepositoryDirectory().getPath(), mappingTransMeta.getRepositoryDirectory().getPath() );
String fullPath = ( path.equals( "/" ) ? "/" : path + "/" ) + mappingTransMeta.getName();
wPath.setText( fullPath );
specificationMethod = ObjectLocationSpecificationMethod.REPOSITORY_BY_NAME;
}
} catch ( KettleException ke ) {
new ErrorDialog( shell,
BaseMessages.getString( PKG, "SimpleMappingDialog.ErrorSelectingObject.DialogTitle" ),
BaseMessages.getString( PKG, "SimpleMappingDialog.ErrorSelectingObject.DialogMessage" ), ke );
}
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:19,代码来源:SimpleMappingDialog.java
示例8: getByReferenceData
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
private void getByReferenceData( ObjectId transObjectId ) {
try {
if ( repository == null ) {
throw new KettleException( BaseMessages.getString(
PKG, "SimpleMappingDialog.Exception.NotConnectedToRepository.Message" ) );
}
RepositoryObject transInf = repository.getObjectInformation( transObjectId, RepositoryObjectType.TRANSFORMATION );
String path = DialogUtils
.getPath( transMeta.getRepositoryDirectory().getPath(), transInf.getRepositoryDirectory().getPath() );
String fullPath =
Const.NVL( path, "" ) + "/" + Const.NVL( transInf.getName(), "" );
wPath.setText( fullPath );
} catch ( KettleException e ) {
new ErrorDialog( shell, BaseMessages.getString(
PKG, "SimpleMappingDialog.Exception.UnableToReferenceObjectId.Title" ), BaseMessages.getString(
PKG, "SimpleMappingDialog.Exception.UnableToReferenceObjectId.Message" ), e );
}
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:19,代码来源:SimpleMappingDialog.java
示例9: getByReferenceData
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
private void getByReferenceData( ObjectId transObjectId ) {
try {
RepositoryObject transInf = repository.getObjectInformation( transObjectId, RepositoryObjectType.TRANSFORMATION );
String
path =
DialogUtils
.getPath( transMeta.getRepositoryDirectory().getPath(),
transInf.getRepositoryDirectory().getPath() );
String fullPath = Const.NVL( path, "" ) + "/" + Const.NVL( transInf.getName(), "" );
wTransPath.setText( fullPath );
} catch ( KettleException e ) {
new ErrorDialog( shell,
BaseMessages.getString( PKG, "JobEntryTransDialog.Exception.UnableToReferenceObjectId.Title" ),
BaseMessages.getString( PKG, "JobEntryTransDialog.Exception.UnableToReferenceObjectId.Message" ), e );
}
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:17,代码来源:BaseStreamingDialog.java
示例10: selectRepositoryObject
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
public static RepositoryObject selectRepositoryObject( String filter, LogChannel log ) {
try {
FileDialogOperation fileDialogOperation =
new FileDialogOperation( FileDialogOperation.OPEN, FileDialogOperation.ORIGIN_OTHER );
if ( !Utils.isEmpty( filter ) ) {
fileDialogOperation.setFilter( filter );
}
ExtensionPointHandler.callExtensionPoint( log, KettleExtensionPoint.SpoonOpenSaveRepository.id,
fileDialogOperation );
return (RepositoryObject) fileDialogOperation.getRepositoryObject();
} catch ( KettleException ke ) {
// Ignore
}
return null;
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:17,代码来源:DialogHelper.java
示例11: removeRecent
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
private boolean removeRecent( String id, String type ) {
RepositoryObject repositoryObject = null;
try {
repositoryObject = getRepository().getObjectInformation( () -> id,
( type == "transformation" ? RepositoryObjectType.TRANSFORMATION : RepositoryObjectType.JOB ) );
} catch ( Exception e ) {
return false;
}
if ( repositoryObject != null ) {
Collection<List<LastUsedFile>> lastUsedRepoFiles = PropsUI.getInstance().getLastUsedRepoFiles().values();
for ( List<LastUsedFile> lastUsedFiles : lastUsedRepoFiles ) {
for ( LastUsedFile lastUsedFile : lastUsedFiles ) {
if ( lastUsedFile.getDirectory().equals( repositoryObject.getRepositoryDirectory().getPath() ) && lastUsedFile
.getFilename().equals( repositoryObject.getName() ) ) {
lastUsedFiles.remove( lastUsedFile );
return true;
}
}
}
}
return true;
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:25,代码来源:RepositoryBrowserController.java
示例12: renameRecent
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
private boolean renameRecent( String id, String type, String name ) {
RepositoryObject repositoryObject = null;
try {
repositoryObject = getRepository().getObjectInformation( () -> id,
( type == "transformation" ? RepositoryObjectType.TRANSFORMATION : RepositoryObjectType.JOB ) );
} catch ( Exception e ) {
return false;
}
if ( repositoryObject != null ) {
Collection<List<LastUsedFile>> lastUsedRepoFiles = PropsUI.getInstance().getLastUsedRepoFiles().values();
for ( List<LastUsedFile> lastUsedFiles : lastUsedRepoFiles ) {
for ( LastUsedFile lastUsedFile : lastUsedFiles ) {
if ( lastUsedFile.getDirectory().equals( repositoryObject.getRepositoryDirectory().getPath() ) && lastUsedFile
.getFilename().equals( repositoryObject.getName() ) ) {
lastUsedFile.setFilename( name );
return true;
}
}
}
}
return true;
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:25,代码来源:RepositoryBrowserController.java
示例13: loadFiles
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
public List<RepositoryFile> loadFiles( String id ) {
try {
List<RepositoryElementMetaInterface> repositoryElementMetaInterfaces =
getRepository().getJobAndTransformationObjects( () -> id, false );
List<RepositoryFile> repositoryFiles = new ArrayList<>();
for ( RepositoryObjectInterface repositoryObject : repositoryElementMetaInterfaces ) {
org.pentaho.di.repository.RepositoryObject ro = (org.pentaho.di.repository.RepositoryObject) repositoryObject;
RepositoryFile repositoryFile = new RepositoryFile();
repositoryFile.setObjectId( repositoryObject.getObjectId() );
repositoryFile.setName( repositoryObject.getName() );
repositoryFile.setType( ro.getObjectType().getTypeDescription() );
repositoryFile.setExtension( ro.getObjectType().getExtension() );
repositoryFile.setDate( ro.getModifiedDate() );
repositoryFile.setObjectId( ro.getObjectId() );
repositoryFile.setPath( ro.getRepositoryDirectory().getPath() );
repositoryFiles.add( repositoryFile );
}
return repositoryFiles;
} catch ( KettleException ke ) {
return Collections.emptyList();
}
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:23,代码来源:RepositoryBrowserController.java
示例14: selectRepositoryTrans
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
private void selectRepositoryTrans() {
RepositoryObject repositoryObject = DialogHelper.selectRepositoryObject( "*.ktr", log );
try {
if ( repositoryObject != null ) {
loadRepositoryTrans( repositoryObject.getName(), repositoryObject.getRepositoryDirectory() );
String path = DialogUtils
.getPath( transMeta.getRepositoryDirectory().getPath(), injectTransMeta.getRepositoryDirectory().getPath() );
String fullPath = ( path.equals( "/" ) ? "/" : path + "/" ) + injectTransMeta.getName();
wPath.setText( fullPath );
specificationMethod = ObjectLocationSpecificationMethod.REPOSITORY_BY_NAME;
}
} catch ( KettleException ke ) {
new ErrorDialog( shell,
BaseMessages.getString( PKG, "SingleThreaderDialog.ErrorSelectingObject.DialogTitle" ),
BaseMessages.getString( PKG, "SingleThreaderDialog.ErrorSelectingObject.DialogMessage" ), ke );
}
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:19,代码来源:MetaInjectDialog.java
示例15: getByReferenceData
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
private void getByReferenceData( ObjectId transObjectId ) {
try {
if ( repository == null ) {
throw new KettleException( BaseMessages.getString(
PKG, "MappingDialog.Exception.NotConnectedToRepository.Message" ) );
}
RepositoryObject transInf = repository.getObjectInformation( transObjectId, RepositoryObjectType.JOB );
if ( transInf != null ) {
getByReferenceData( transInf );
}
} catch ( KettleException e ) {
new ErrorDialog( shell,
BaseMessages.getString( PKG, "MappingDialog.Exception.UnableToReferenceObjectId.Title" ),
BaseMessages.getString( PKG, "MappingDialog.Exception.UnableToReferenceObjectId.Message" ), e );
}
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:17,代码来源:MetaInjectDialog.java
示例16: testDeletedFlagForObject
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
private void testDeletedFlagForObject( Callable<RepositoryElementInterface> elementProvider ) throws Exception {
TransDelegate transDelegate = new TransDelegate( purRepository, unifiedRepository );
JobDelegate jobDelegate = new JobDelegate( purRepository, unifiedRepository );
FieldUtils.writeField( purRepository, "transDelegate", transDelegate, true );
FieldUtils.writeField( purRepository, "jobDelegate", jobDelegate, true );
RepositoryElementInterface element = elementProvider.call();
RepositoryDirectoryInterface directory = purRepository.findDirectory( element.getRepositoryDirectory().getPath() );
element.setRepositoryDirectory( directory );
purRepository.save( element, null, null );
assertNotNull( "Element was saved", element.getObjectId() );
RepositoryObject information;
information = purRepository.getObjectInformation( element.getObjectId(), element.getRepositoryElementType() );
assertNotNull( information );
assertFalse( information.isDeleted() );
purRepository.deleteTransformation( element.getObjectId() );
assertNotNull( "Element was moved to Trash", unifiedRepository.getFileById( element.getObjectId().getId() ) );
information = purRepository.getObjectInformation( element.getObjectId(), element.getRepositoryElementType() );
assertNotNull( information );
assertTrue( information.isDeleted() );
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:26,代码来源:PurRepository_GetObjectInformation_IT.java
示例17: getTransformationObjects
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
public List<RepositoryElementMetaInterface> getTransformationObjects(ObjectId idDirectory, boolean includeDeleted) throws KettleException {
try {
List<RepositoryElementMetaInterface> list = new ArrayList<RepositoryElementMetaInterface>();
RepositoryDirectoryInterface tree = loadRepositoryDirectoryTree();
RepositoryDirectoryInterface directory = tree.findDirectory(idDirectory);
String folderName = calcDirectoryName(directory);
FileObject folder = KettleVFS.getFileObject(folderName);
for (FileObject child : folder.getChildren()) {
if (child.getType().equals(FileType.FILE)) {
if (!child.isHidden() || !repositoryMeta.isHidingHiddenFiles()) {
String name = child.getName().getBaseName();
if (name.endsWith(EXT_TRANSFORMATION)) {
String transName = name.substring(0, name.length()-4);
ObjectId id = new StringObjectId(calcObjectId(directory, transName, EXT_TRANSFORMATION));
Date date = new Date(child.getContent().getLastModifiedTime());
list.add( new RepositoryObject(id, transName, directory, "-", date, RepositoryObjectType.TRANSFORMATION, "", false) );
}
}
}
}
return list;
}
catch(Exception e) {
throw new KettleException("Unable to get list of transformations in folder with id : "+idDirectory, e);
}
}
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:36,代码来源:KettleFileRepository.java
示例18: getJobObjects
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
public List<RepositoryElementMetaInterface> getJobObjects(ObjectId id_directory, boolean includeDeleted) throws KettleException {
try {
List<RepositoryElementMetaInterface> list = new ArrayList<RepositoryElementMetaInterface>();
RepositoryDirectoryInterface tree = loadRepositoryDirectoryTree();
RepositoryDirectoryInterface directory = tree.findDirectory(id_directory);
String folderName = calcDirectoryName(directory);
FileObject folder = KettleVFS.getFileObject(folderName);
for (FileObject child : folder.getChildren()) {
if (child.getType().equals(FileType.FILE)) {
if (!child.isHidden() || !repositoryMeta.isHidingHiddenFiles()) {
String name = child.getName().getBaseName();
if (name.endsWith(EXT_JOB)) {
String jobName = name.substring(0, name.length()-4);
ObjectId id = new StringObjectId(calcObjectId(directory, jobName, EXT_JOB));
Date date = new Date(child.getContent().getLastModifiedTime());
list.add( new RepositoryObject(id, jobName, directory, "-", date, RepositoryObjectType.JOB, "", false) );
}
}
}
}
return list;
}
catch(Exception e) {
throw new KettleException("Unable to get list of jobs in folder with id : "+id_directory, e);
}
}
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:35,代码来源:KettleFileRepository.java
示例19: getObjectInformation
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
public RepositoryObject getObjectInformation(ObjectId objectId, RepositoryObjectType objectType) throws KettleException {
try {
String filename = calcDirectoryName(null);
if (objectId.getId().startsWith("/")) {
filename+=objectId.getId().substring(1);
} else {
filename+=objectId.getId();
}
FileObject fileObject = KettleVFS.getFileObject(filename);
if (!fileObject.exists()) {
return null;
}
FileName fname = fileObject.getName();
String name = fname.getBaseName();
if (!Const.isEmpty(fname.getExtension()) && name.length()>fname.getExtension().length()) {
name = name.substring(0, name.length()-fname.getExtension().length()-1);
}
String filePath = fileObject.getParent().getName().getPath();
String dirPath = repositoryMeta.getBaseDirectory().length()<=filePath.length() ? filePath.substring(repositoryMeta.getBaseDirectory().length()) : "/";
RepositoryDirectoryInterface directory = loadRepositoryDirectoryTree().findDirectory(dirPath);
Date lastModified = new Date(fileObject.getContent().getLastModifiedTime());
return new RepositoryObject(objectId, name, directory, "-", lastModified, objectType, "", false);
} catch(Exception e) {
throw new KettleException("Unable to get object information for object with id="+objectId, e);
}
}
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:30,代码来源:KettleFileRepository.java
示例20: getData
import org.pentaho.di.repository.RepositoryObject; //导入依赖的package包/类
/**
* Copy information from the meta-data input to the dialog fields.
*/
public void getData() {
wStepname.selectAll();
specificationMethod = metaInjectMeta.getSpecificationMethod();
switch (specificationMethod) {
case FILENAME:
wFilename.setText(Const.NVL(metaInjectMeta.getFileName(), ""));
break;
case REPOSITORY_BY_NAME:
wDirectory.setText(Const.NVL(metaInjectMeta.getDirectoryPath(), ""));
wTransname.setText(Const.NVL(metaInjectMeta.getTransName(), ""));
break;
case REPOSITORY_BY_REFERENCE:
referenceObjectId = metaInjectMeta.getTransObjectId();
wByReference.setText("");
try {
RepositoryObject transInf = repository.getObjectInformation(metaInjectMeta.getTransObjectId(), RepositoryObjectType.TRANSFORMATION);
if (transInf != null) {
getByReferenceData(transInf);
}
} catch (KettleException e) {
new ErrorDialog(shell, BaseMessages.getString(PKG, "MetaInjectDialog.Exception.UnableToReferenceObjectId.Title"), BaseMessages.getString(PKG, "MetaInjectDialog.Exception.UnableToReferenceObjectId.Message"), e);
}
break;
}
wSourceStep.setText(Const.NVL(metaInjectMeta.getSourceStepName(), ""));
setRadioButtons();
refreshTree();
}
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:36,代码来源:MetaInjectDialog.java
注:本文中的org.pentaho.di.repository.RepositoryObject类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论