Skip to content
Snippets Groups Projects
Commit ac8f83cc authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

Add documentation to DmnModelInstanceWrapper

parent 804ca4a6
No related branches found
No related tags found
No related merge requests found
...@@ -5,5 +5,11 @@ import org.camunda.bpm.model.dmn.DmnModelInstance; ...@@ -5,5 +5,11 @@ import org.camunda.bpm.model.dmn.DmnModelInstance;
public interface DmnModelInstanceWrapper { public interface DmnModelInstanceWrapper {
/**
* Parse a {@link DmnModelInstance} to an instance of {@link VDmnDefinition}.
*
* @param dmnModelInstance the {@link DmnModelInstance}
* @return a new instance of {@link VDmnDefinition}
*/
VDmnDefinition getVDmnDefinition(DmnModelInstance dmnModelInstance); VDmnDefinition getVDmnDefinition(DmnModelInstance dmnModelInstance);
} }
...@@ -37,6 +37,9 @@ import org.camunda.bpm.model.dmn.instance.Rule; ...@@ -37,6 +37,9 @@ import org.camunda.bpm.model.dmn.instance.Rule;
@ApplicationScoped @ApplicationScoped
public class SimpleVDmnParser implements DmnModelInstanceWrapper { public class SimpleVDmnParser implements DmnModelInstanceWrapper {
/**
* {@inheritDoc}
*/
@Override @Override
public VDmnDefinition getVDmnDefinition(DmnModelInstance dmnModel) { public VDmnDefinition getVDmnDefinition(DmnModelInstance dmnModel) {
// Get the definition // Get the definition
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment