public interface DMNMarshallerImportsHelper<IMPORT,DEFINITIONS,DRGELEMENT,ITEMDEFINITION>
| Modifier and Type | Method and Description |
|---|---|
org.uberfire.backend.vfs.Path |
getDMNModelPath(Metadata metadata,
String modelNamespace,
String modelName)
This method finds the
Path of DMN model. |
Map<IMPORT,DEFINITIONS> |
getImportDefinitions(Metadata metadata,
List<IMPORT> imports)
This method loads all imported DMN definitions from a list of imports.
|
List<DRGELEMENT> |
getImportedDRGElements(Map<IMPORT,DEFINITIONS> importDefinitions)
This method extract a list of
DRGELEMENTs from the importDefinitions map. |
List<ITEMDEFINITION> |
getImportedItemDefinitions(Map<IMPORT,DEFINITIONS> importDefinitions)
This method extract a list of
ITEMDEFINITION from the importDefinitions map. |
List<ITEMDEFINITION> |
getImportedItemDefinitionsByNamespace(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject,
String modelName,
String namespace)
This method finds the list of
ITEMDEFINITIONs for a given namespace. |
Map<IMPORT,String> |
getImportXML(Metadata metadata,
List<IMPORT> imports)
This method loads
String of all imported XML files from a list of imports. |
Map<IMPORT,PMMLDocumentMetadata> |
getPMMLDocuments(Metadata metadata,
List<IMPORT> imports)
This method loads all imported PMML documents from a list of imports.
|
Optional<InputStream> |
loadPath(org.uberfire.backend.vfs.Path path)
This method loads the
InputStream from a given Path. |
Map<IMPORT,DEFINITIONS> getImportDefinitions(Metadata metadata, List<IMPORT> imports)
metadata - represents the metadata from the main DMN model.imports - represent the list of imported files.DEFINITIONS indexed by IMPORTs.Map<IMPORT,PMMLDocumentMetadata> getPMMLDocuments(Metadata metadata, List<IMPORT> imports)
metadata - represents the metadata from the main DMN model.imports - represent the list of imported files.PMMLDocumentMetadata indexed by IMPORTs.Map<IMPORT,String> getImportXML(Metadata metadata, List<IMPORT> imports)
String of all imported XML files from a list of imports.metadata - represents the metadata from the main DMN model.imports - represent the list of imported files.String indexed by IMPORTs.List<DRGELEMENT> getImportedDRGElements(Map<IMPORT,DEFINITIONS> importDefinitions)
DRGELEMENTs from the importDefinitions map.importDefinitions - is a map of DEFINITIONS indexed by IMPORT.DRGELEMENTs.List<ITEMDEFINITION> getImportedItemDefinitions(Map<IMPORT,DEFINITIONS> importDefinitions)
ITEMDEFINITION from the importDefinitions map.importDefinitions - is a map of DEFINITIONS indexed by IMPORT.ITEMDEFINITIONs.List<ITEMDEFINITION> getImportedItemDefinitionsByNamespace(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject, String modelName, String namespace)
ITEMDEFINITIONs for a given namespace.workspaceProject - represents the project that will be scanned.modelName - is the value used as the prefix for imported ITEMDEFINITIONs.namespace - is the namespace of the model that provides the list of ITEMDEFINITIONs.ITEMDEFINITIONs.org.uberfire.backend.vfs.Path getDMNModelPath(Metadata metadata, String modelNamespace, String modelName)
Path of DMN model.metadata - represents the metadata from the a DMN model from the scanned project.modelNamespace - represents the namespace of the desired DMN model.modelName - represents the mode name of the desired DMN model.Path of the desired DMN model.Optional<InputStream> loadPath(org.uberfire.backend.vfs.Path path)
InputStream from a given Path.path - to be loaded.InputStream when the path is valid, otherwise is returns empty.Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.