public class ReferenceOfBizPreImport extends Object implements PluggableImportOfBizEntityHandler
| Constructor and Description |
|---|
ReferenceOfBizPreImport() |
| Modifier and Type | Method and Description |
|---|---|
void |
endDocument()
Provides the implementation an opportunity to perform some action when the document is finished being read.
|
BackupProject |
getBackupProject() |
BackupSystemInformation |
getBackupSystemInformation() |
ProjectImportMapper |
getProjectImportMapper() |
ProjectImportResults |
getProjectImportResults() |
void |
handleEntity(String entityName,
Map<String,String> attributes)
This is the main method to implement when using this ImportEntityHandler.
|
boolean |
handlesEntity(String entityName)
Return true if this handler should process the entity.
|
boolean |
isDocEnded() |
boolean |
isDocStarted() |
void |
setBackupProject(BackupProject backupProject)
Set the backup project.
|
void |
setBackupSystemInformation(BackupSystemInformation backupSystemInformation)
Set the backup system information.
|
void |
setProjectImportMapper(ProjectImportMapper projectImportMapper)
Set the project import mapper.
|
void |
setProjectImportResults(ProjectImportResults projectImportResults)
Set the project import results.
|
void |
startDocument()
Provides the implementation an opportunity to perform some action when the document is starting to
be read.
|
public void handleEntity(String entityName, Map<String,String> attributes) throws ParseException, AbortImportException
ImportOfBizEntityHandlerhandleEntity in interface ImportOfBizEntityHandlerentityName - identifies the entity (i.e. Issue)attributes - complete list of the attributes listed in the XML element including the nested
elements.ParseException - if the entity is invalid a ParseException will be thrown.AbortImportException - to indicate to project import that it should abort its SAX parsing.public boolean handlesEntity(String entityName)
PluggableImportOfBizEntityHandlerhandlesEntity in interface PluggableImportOfBizEntityHandlerentityName - Entities to process.public void startDocument()
PluggableImportOfBizEntityHandlerstartDocument in interface ImportOfBizEntityHandlerstartDocument in interface PluggableImportOfBizEntityHandlerpublic void endDocument()
PluggableImportOfBizEntityHandlerendDocument in interface ImportOfBizEntityHandlerendDocument in interface PluggableImportOfBizEntityHandlerpublic void setBackupProject(BackupProject backupProject)
PluggableImportHandlersetBackupProject in interface PluggableImportHandlerbackupProject - The backup projectpublic void setBackupSystemInformation(BackupSystemInformation backupSystemInformation)
PluggableImportHandlersetBackupSystemInformation in interface PluggableImportHandlerbackupSystemInformation - The backup system informationpublic void setProjectImportMapper(ProjectImportMapper projectImportMapper)
PluggableImportHandlersetProjectImportMapper in interface PluggableImportHandlerprojectImportMapper - The project import mapperpublic void setProjectImportResults(@Nullable ProjectImportResults projectImportResults)
PluggableImportHandlersetProjectImportResults in interface PluggableImportHandlerprojectImportResults - The project import resultspublic boolean isDocStarted()
public boolean isDocEnded()
public BackupProject getBackupProject()
public BackupSystemInformation getBackupSystemInformation()
public ProjectImportMapper getProjectImportMapper()
@Nullable public ProjectImportResults getProjectImportResults()
Copyright © 2002-2023 Atlassian. All Rights Reserved.