Package io.jmix.stormbpmn.service
Class UploadStormbpmnDiagramResult
java.lang.Object
io.jmix.stormbpmn.service.UploadStormbpmnDiagramResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<StormbpmnDiagram>protected List<StormbpmnDiagram>protected List<StormbpmnDiagram>protected List<StormbpmnDiagram>protected List<StormbpmnDiagram> -
Constructor Summary
ConstructorsConstructorDescriptionUploadStormbpmnDiagramResult(List<StormbpmnDiagram> createdDiagrams, List<StormbpmnDiagram> updatedDiagrams, List<StormbpmnDiagram> diagramsWithEmptyName, List<StormbpmnDiagram> diagramsWithNoSchema, List<StormbpmnDiagram> diagramsWithNotXml) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Field Details
-
diagramsWithEmptyName
-
diagramsWithNoSchema
-
diagramsWithNotXml
-
createdDiagrams
-
updatedDiagrams
-
-
Constructor Details
-
UploadStormbpmnDiagramResult
public UploadStormbpmnDiagramResult(List<StormbpmnDiagram> createdDiagrams, List<StormbpmnDiagram> updatedDiagrams, List<StormbpmnDiagram> diagramsWithEmptyName, List<StormbpmnDiagram> diagramsWithNoSchema, List<StormbpmnDiagram> diagramsWithNotXml)
-
-
Method Details
-
getDiagramsWithEmptyName
- Returns:
- not uploaded diagrams due to an empty name
-
getDiagramsWithNoSchema
- Returns:
- not uploaded diagrams because they don't have a schema
-
getDiagramsWithNotXml
- Returns:
- not uploaded diagrams because the provided schema does not have an XML structure
-
getCreatedDiagrams
- Returns:
- diagrams that were successfully uploaded and created in Storm BPMN
-
getUpdatedDiagrams
- Returns:
- diagrams that were successfully uploaded and updated in Storm BPMN
-
hasErrors
public boolean hasErrors()- Returns:
trueif there were any errors during upload
-