Package org.camunda.bpm.dmn.xlsx
Class XlsxWorksheetConverter
java.lang.Object
org.camunda.bpm.dmn.xlsx.XlsxWorksheetConverter
- Author:
- Thorben Lindhauer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DmnConversionContextprotected final Stringprotected SpreadsheetAdapterprotected XlsxWorksheetContext -
Constructor Summary
ConstructorsConstructorDescriptionXlsxWorksheetConverter(XlsxWorksheetContext worksheetContext, SpreadsheetAdapter spreadsheetAdapter, String historyTimeToLive) -
Method Summary
Modifier and TypeMethodDescriptionorg.camunda.bpm.model.dmn.DmnModelInstanceconvert()protected voidconvertInputsOutputs(org.camunda.bpm.model.dmn.DmnModelInstance dmnModel, org.camunda.bpm.model.dmn.instance.DecisionTable decisionTable) protected voidconvertRule(org.camunda.bpm.model.dmn.DmnModelInstance dmnModel, org.camunda.bpm.model.dmn.instance.DecisionTable decisionTable, SpreadsheetRow ruleRow) protected voidconvertRules(org.camunda.bpm.model.dmn.DmnModelInstance dmnModel, org.camunda.bpm.model.dmn.instance.DecisionTable decisionTable, List<SpreadsheetRow> rulesRows) protected org.camunda.bpm.model.dmn.instance.DescriptiongenerateDescription(org.camunda.bpm.model.dmn.DmnModelInstance dmnModel, String content) <E extends org.camunda.bpm.model.dmn.instance.DmnElement>
EgenerateElement(org.camunda.bpm.model.dmn.DmnModelInstance modelInstance, Class<E> elementClass) With a generated id<E extends org.camunda.bpm.model.dmn.instance.DmnElement>
EgenerateElement(org.camunda.bpm.model.dmn.DmnModelInstance modelInstance, Class<E> elementClass, String id) <E extends org.camunda.bpm.model.dmn.instance.NamedElement>
EgenerateNamedElement(org.camunda.bpm.model.dmn.DmnModelInstance modelInstance, Class<E> elementClass, String name) protected org.camunda.bpm.model.dmn.instance.TextgenerateText(org.camunda.bpm.model.dmn.DmnModelInstance dmnModel, String content) protected Stringprotected org.camunda.bpm.model.dmn.DmnModelInstanceprotected voidsetHitPolicy(org.camunda.bpm.model.dmn.instance.DecisionTable decisionTable)
-
Field Details
-
historyTimeToLive
-
worksheetContext
-
dmnConversionContext
-
spreadsheetAdapter
-
-
Constructor Details
-
XlsxWorksheetConverter
public XlsxWorksheetConverter(XlsxWorksheetContext worksheetContext, SpreadsheetAdapter spreadsheetAdapter, String historyTimeToLive)
-
-
Method Details
-
convert
public org.camunda.bpm.model.dmn.DmnModelInstance convert() -
setHitPolicy
protected void setHitPolicy(org.camunda.bpm.model.dmn.instance.DecisionTable decisionTable) -
convertInputsOutputs
protected void convertInputsOutputs(org.camunda.bpm.model.dmn.DmnModelInstance dmnModel, org.camunda.bpm.model.dmn.instance.DecisionTable decisionTable) -
convertRules
protected void convertRules(org.camunda.bpm.model.dmn.DmnModelInstance dmnModel, org.camunda.bpm.model.dmn.instance.DecisionTable decisionTable, List<SpreadsheetRow> rulesRows) -
convertRule
protected void convertRule(org.camunda.bpm.model.dmn.DmnModelInstance dmnModel, org.camunda.bpm.model.dmn.instance.DecisionTable decisionTable, SpreadsheetRow ruleRow) -
getDefaultCellContent
-
initializeEmptyDmnModel
protected org.camunda.bpm.model.dmn.DmnModelInstance initializeEmptyDmnModel() -
generateNamedElement
-
generateElement
-
generateElement
public <E extends org.camunda.bpm.model.dmn.instance.DmnElement> E generateElement(org.camunda.bpm.model.dmn.DmnModelInstance modelInstance, Class<E> elementClass) With a generated id -
generateText
protected org.camunda.bpm.model.dmn.instance.Text generateText(org.camunda.bpm.model.dmn.DmnModelInstance dmnModel, String content) -
generateDescription
protected org.camunda.bpm.model.dmn.instance.Description generateDescription(org.camunda.bpm.model.dmn.DmnModelInstance dmnModel, String content)
-