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