public class SolutionImportHandler extends Object implements IPlatformImportHandler
Constructor and Description |
---|
SolutionImportHandler(List<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes) |
Modifier and Type | Method and Description |
---|---|
org.pentaho.platform.api.repository2.unified.IPlatformImportBundle |
build(RepositoryFileImportBundle.Builder builder) |
javax.ws.rs.core.Response |
createSchedulerJob(SchedulerResource scheduler,
JobScheduleRequest jobRequest) |
ImportSession |
getImportSession() |
List<org.pentaho.platform.api.mimetype.IMimeType> |
getMimeTypes() |
void |
importFile(org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle)
Import the provided IPlatformImportBundle into the platform.
|
boolean |
isOverwriteFile() |
void |
setOverwriteFile(boolean overwriteFile) |
public SolutionImportHandler(List<org.pentaho.platform.api.mimetype.IMimeType> mimeTypes)
public ImportSession getImportSession()
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 List<org.pentaho.platform.api.mimetype.IMimeType> getMimeTypes()
getMimeTypes
in interface IPlatformImportHandler
public org.pentaho.platform.api.repository2.unified.IPlatformImportBundle build(RepositoryFileImportBundle.Builder builder)
public javax.ws.rs.core.Response createSchedulerJob(SchedulerResource scheduler, JobScheduleRequest jobRequest) throws IOException
IOException
public boolean isOverwriteFile()
public void setOverwriteFile(boolean overwriteFile)