public interface DMNClientServicesProxy
Modifier and Type | Method and Description |
---|---|
void |
getTimeZones(ServiceCallback<List<DMNSimpleTimeZone>> callback) |
void |
isValidVariableName(String source,
ServiceCallback<Boolean> callback) |
void |
loadDataObjects(ServiceCallback<List<DataObject>> callback)
This method loads all Data Objects from .java classes from the current project.
|
void |
loadItemDefinitionsByNamespace(String modelName,
String namespace,
ServiceCallback<List<ItemDefinition>> callback)
This method finds the list of
ItemDefinition s for a given namespace . |
void |
loadModels(org.uberfire.backend.vfs.Path path,
ServiceCallback<List<IncludedModel>> callback)
This method loads all models (DMN and PMML) from a given project.
|
void |
loadNodesFromImports(List<DMNIncludedModel> includedModels,
ServiceCallback<List<DMNIncludedNode>> callback)
This method loads all nodes for the included DMN models.
|
void |
loadPMMLDocumentsFromImports(org.uberfire.backend.vfs.Path path,
List<PMMLIncludedModel> includedModels,
ServiceCallback<List<PMMLDocumentMetadata>> callback)
Returns metadata defining the PMMLDocuments for the included PMML models.
|
default void |
logWarning(ClientRuntimeError error) |
void |
parseFEELList(String source,
ServiceCallback<List<String>> callback) |
void |
parseRangeValue(String source,
ServiceCallback<RangeValue> callback) |
default void |
warn(String message) |
default void logWarning(ClientRuntimeError error)
default void warn(String message)
void loadModels(org.uberfire.backend.vfs.Path path, ServiceCallback<List<IncludedModel>> callback)
path
- Path of the DMN file being edited.callback
- Invoked with all IncludedModel
s from a given project.void loadNodesFromImports(List<DMNIncludedModel> includedModels, ServiceCallback<List<DMNIncludedNode>> callback)
includedModels
- represents all DMN imports that provide the list of nodes.callback
- Invoked with a list of DMNIncludedNode
s.void loadPMMLDocumentsFromImports(org.uberfire.backend.vfs.Path path, List<PMMLIncludedModel> includedModels, ServiceCallback<List<PMMLDocumentMetadata>> callback)
path
- Path of the DMN file being edited.includedModels
- represents all PMML imports that provide the list of documents.callback
- Invoked with a list of PMMLDocumentMetadata
s.void loadItemDefinitionsByNamespace(String modelName, String namespace, ServiceCallback<List<ItemDefinition>> callback)
ItemDefinition
s for a given namespace
.modelName
- is the value used as the prefix for imported ItemDefinition
s.namespace
- is the namespace of the model that provides the list of ItemDefinition
s.callback
- Invoked with a list of ItemDefinition
s.void parseFEELList(String source, ServiceCallback<List<String>> callback)
void parseRangeValue(String source, ServiceCallback<RangeValue> callback)
void isValidVariableName(String source, ServiceCallback<Boolean> callback)
void getTimeZones(ServiceCallback<List<DMNSimpleTimeZone>> callback)
void loadDataObjects(ServiceCallback<List<DataObject>> callback)
callback
- Invoked with all DataObject
s from the current project.Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.