public class ReferenceAoOverview extends Object implements PluggableOverviewAoEntityHandler
Constructor and Description |
---|
ReferenceAoOverview() |
Modifier and Type | Method and Description |
---|---|
void |
endDocument()
Provides the implementation an opportunity to perform some action when the document is finished being read.
|
void |
endTable(String tableName)
Provides the implementation an opportunity to perform some action once all rows of a table are processed.
|
void |
handleEntity(String entityName,
Map<String,Object> attributes)
This is the main method to implement when using this ImportEntityHandler.
|
boolean |
handlesEntity(String entityName)
Return true if the handler should handle this entity.
|
void |
setBackupOverviewBuilder(BackupOverviewBuilder backupOverviewBuilder) |
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,Object> attributes) throws ParseException, AbortImportException
AoEntityHandler
handleEntity
in interface AoEntityHandler
entityName
- 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)
AoEntityHandler
handlesEntity
in interface AoEntityHandler
public void startDocument()
AoEntityHandler
startDocument
in interface AoEntityHandler
public void endDocument()
AoEntityHandler
endDocument
in interface AoEntityHandler
public void endTable(String tableName)
AoEntityHandler
endTable
in interface AoEntityHandler
public void setBackupOverviewBuilder(BackupOverviewBuilder backupOverviewBuilder)
setBackupOverviewBuilder
in interface PluggableOverviewAoEntityHandler
Copyright © 2002-2022 Atlassian. All Rights Reserved.