| Package | Description |
|---|---|
| de.aristaflow.adept2.model.processmodel.xml |
The xml packages provides a generic import and export functionality for all components implementing the common ADEPT2 processmodel interfaces and just requires an implementation of the ProcessModelFactory.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<java.util.UUID,java.util.UUID> |
ProcessModelXMLImport.getAdhocTemplateMappingFromFile(java.io.File file)
Fetches the adhoc template ID mappings stored in the specified file.
|
static java.util.Map<java.util.UUID,java.util.UUID> |
ProcessModelXMLImport.getBaseTemplateMappingFromFile(java.io.File file)
Fetches the base template ID mappings stored in the specified file.
|
static java.util.Map<java.util.UUID,java.util.UUID> |
ProcessModelXMLImport.getEmbeddedTemplateMappingFromFile(java.io.File file)
Fetches the embedded template ID mappings stored in the specified file.
|
ExecutableInstance |
ProcessModelXMLImport.getExecutableInstanceFromFile(ExecutionFactory executionFactory,
java.io.File file)
Reads a process instance from the given file and determines the file type.
|
ExecutableInstance |
ProcessModelXMLImport.getExecutableInstanceFromFile(ExecutionFactory executionFactory,
java.io.File file,
Template template)
Reads a process instance from the given file and determines the file type.
|
ExecutableInstance |
ProcessModelXMLImport.getExecutableInstanceFromStream(ExecutionFactory executionFactory,
java.io.InputStream stream,
Template template)
Reads a process instance from the designated input stream.
|
Instance |
ProcessModelXMLImport.getInstanceFromFile(java.io.File file)
Reads a process instance from the given file and determines the file type.
|
Instance |
ProcessModelXMLImport.getInstanceFromFile(java.io.File file,
Template template)
Reads a process instance from the given file and determines the file type.
|
Instance |
ProcessModelXMLImport.getInstanceFromStream(java.io.InputStream inputStream)
Reads a process instance from an input stream.
|
static java.util.Map<java.util.UUID,ProcessModelXMLHelperTools.LockDescription> |
ProcessModelXMLImport.getInstanceLocksFromFile(java.io.File file)
Fetches the current locks stored in the specified file.
|
InstanceStatus |
ProcessModelXMLImport.getInstanceStatusFromInstanceDocument(org.w3c.dom.Document document)
Reads a process instance status from the given.
|
InstanceStatus |
ProcessModelXMLImport.getInstanceStatusFromInstanceFile(java.io.File file)
Reads a process instance status from the given.
|
static java.util.Set<ProcessModelXMLHelperTools.SerialisableProcessType> |
ProcessModelXMLImport.getProcessTypesFromFile(java.io.File file)
Fetches the process types stored in the specified file.
|
Template |
ProcessModelXMLImport.getTemplateFromFile(java.io.File file)
Reads a process template from the given file and determines the file type.
|
Template |
ProcessModelXMLImport.getTemplateFromStream(java.io.InputStream inputStream)
Reads a process template from an input stream.
|
java.util.UUID |
ProcessModelXMLImport.getTemplateIDFromInstanceFile(java.io.File file)
Reads a process instance from the given file and determines the file type.
|
static java.util.Map<java.util.UUID,ProcessModelXMLHelperTools.TemplateInformation> |
ProcessModelXMLImport.getTemplateInformationsFromFile(java.io.File file)
Fetches the template informations stored in the specified file.
|
static java.util.Map<java.util.UUID,ProcessModelXMLHelperTools.LockDescription> |
ProcessModelXMLImport.getTemplateLocksFromFile(java.io.File file)
Fetches the current locks stored in the specified file.
|
TemplateStatus |
ProcessModelXMLImport.getTemplateStatusFromStream(java.io.InputStream inputStream)
Reads the template status from the given template file.
|
TemplateStatus |
ProcessModelXMLImport.getTemplateStatusFromTemplateFile(java.io.File file)
Reads the template status from the given template file.
|
static void |
ProcessModelXMLImport.validateInstanceFormatVersion(org.w3c.dom.Document instance)
Validates the format version of the given instance document.
|
static void |
ProcessModelXMLImport.validateTemplateFormatVersion(org.w3c.dom.Document template)
Validates the format version of the given template document.
|