public class MetaStoreImportHandler extends Object implements IPlatformImportHandler
Modifier and Type | Field and Description |
---|---|
protected org.pentaho.metastore.stores.xml.XmlMetaStore |
tmpXmlMetaStore |
Constructor and Description |
---|
MetaStoreImportHandler() |
MetaStoreImportHandler(List<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes) |
Modifier and Type | Method and Description |
---|---|
List<org.pentaho.platform.api.mimetype.IMimeType> |
getMimeTypes() |
protected org.pentaho.metastore.api.IMetaStore |
getRepoMetaStore() |
void |
importFile(org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle)
Import the provided IPlatformImportBundle into the platform.
|
void |
setMimeTypes(List<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes) |
protected void |
setRepoMetaStore(org.pentaho.metastore.api.IMetaStore metastore) |
protected org.pentaho.metastore.stores.xml.XmlMetaStore tmpXmlMetaStore
public MetaStoreImportHandler()
public MetaStoreImportHandler(List<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes)
public void importFile(org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle) throws PlatformImportException, org.pentaho.metadata.repository.DomainIdNullException, org.pentaho.metadata.repository.DomainAlreadyExistsException, org.pentaho.metadata.repository.DomainStorageException, IOException
IPlatformImportHandler
importFile
in interface IPlatformImportHandler
PlatformImportException
org.pentaho.metadata.repository.DomainIdNullException
org.pentaho.metadata.repository.DomainAlreadyExistsException
org.pentaho.metadata.repository.DomainStorageException
IOException
public void setMimeTypes(List<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes)
public List<org.pentaho.platform.api.mimetype.IMimeType> getMimeTypes()
getMimeTypes
in interface IPlatformImportHandler
protected org.pentaho.metastore.api.IMetaStore getRepoMetaStore()
protected void setRepoMetaStore(org.pentaho.metastore.api.IMetaStore metastore)
Copyright © 2018 Hitachi Vantara. All rights reserved.