Interface IHierarchyImporterNode
- All Known Implementing Classes:
AbstractHierarchyImporterNode,AdditionalIndexImporterNode,AggregatesImporterNode,AggregatesMigrationNode,BaseMetadataObjectImporterNode,ClientApplicationInterfaceImporterNode,CommandImporterNode,CommandInterfaceImporterNode,ConfigurationImporterNode,ConfigurationMobileClientSignatureNode,ConfigurationPropertyCopyImporterNode,CubeImporterNode,DimensionTableImporterNode,ExchangePlanContentImporterNode,ExecutableHierarchyImporterNode,ExternalDataSourceImporterNode,ExternalObjectImporterNode,ExternalPictureImporterNode,FlowchartImporterNode,FormImporterNode,FormItemPictureImporterNode,FormMetadataImporterNode,HelpImporterNode,HelpMetadataImporterNode,HelpPictureImporterNode,HierarchyImporterStatusNode,HpwaImporterNode,LanguageImporterNode,MetadataObjectImporterNode,ModuleImporterNode,PictureImporterNode,PredefinedImporterNode,RecalculationImporterNode,RightsImporterNode,ScheduleImporterNode,StandaloneConfigurationContentImporterNode,StyleImporterNode,SubsystemImporterNode,TableImporterNode,TemplateImporterNode,TemplateMetadataImporterNode,TemplateMigrationNode,UnknownFolderMigrationNode,UnsupportedHierarchyImporterNode,WsDefinitionImporterNode,WsDefinitionXsdImporterNode,XdtoImporterNode
public interface IHierarchyImporterNode
Hierarchy importer tree node to organize serial import
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd the specified node to list of childrenvoidAdd the specified node to the list independent of childrenvoidexecuteImport(Collection<org.eclipse.core.runtime.IStatus> statuses) Run action of importing dataGet list of children nodes.Contain all import process contextGets list of independent children.Get parent nodeGet path to import sourcebooleanRemove the specified node from list of childrenvoidsetParentNode(IHierarchyImporterNode parent) Set parent with the context of need to import the node
-
Method Details
-
getImporterContext
IHierarchyImporterContext getImporterContext()Contain all import process context- Returns:
- the instance of
IHierarchyImporterContext, nevernull
-
getSource
Path getSource()Get path to import source- Returns:
- the path to import source, never
null
-
setParentNode
Set parent with the context of need to import the node
This node be added to list of children in parent node
- Parameters:
parent- the parent node, notnull
-
getParentNode
IHierarchyImporterNode getParentNode()Get parent node- Returns:
- the parent node, can be
nullif node is root
-
addChildNode
Add the specified node to list of children
This node set in parent property for specified node
- Parameters:
child- new child node, notnull
-
addIndependentChildNode
Add the specified node to the list independent of children
This node set in parent property for specified node
- Parameters:
child- new child node, notnull
-
removeChildNode
Remove the specified node from list of children
This node unset in parent property for specified node
- Parameters:
child- new child node, notnull
-
getChildrenNodes
List<IHierarchyImporterNode> getChildrenNodes()Get list of children nodes. Children must be processed along with the parent.- Returns:
- the list of
IHierarchyImporterNode, nevernull
-
getIndependentChildrenNodes
List<IHierarchyImporterNode> getIndependentChildrenNodes()Gets list of independent children. Independent children may be processed separately from the parent.- Returns:
- a list of
IHierarchyImporterNode, nevernull
-
executeImport
Run action of importing data- Parameters:
statuses- a collection the result statuses of all the operations will be added into, notnull
-