public class DesignerProcessDataEventListener extends org.kie.workbench.common.services.refactoring.backend.server.impact.ResourceReferenceCollector implements org.jbpm.compiler.xml.ProcessDataEventListener, Serializable
ResourceReferenceCollector
)
In the onProcessAdded(Process)
method, it stores itself in the Process
, allowing the BPMN2FileIndexer
to retrieve the DesignerProcessDataEventListener
instance later and add it to the indexing information.Constructor and Description |
---|
DesignerProcessDataEventListener() |
Modifier and Type | Method and Description |
---|---|
void |
addDistinctProcessVariables(List<org.jbpm.process.core.context.variable.Variable> variables,
org.kie.workbench.common.services.refactoring.Resource resource) |
org.kie.api.definition.process.Process |
getProcess() |
Set<String> |
getUniqueVariables() |
void |
onBuildComplete(org.kie.api.definition.process.Process process) |
void |
onComplete(org.kie.api.definition.process.Process process) |
void |
onMetaDataAdded(String name,
Object data) |
void |
onNodeAdded(org.jbpm.workflow.core.Node node) |
void |
onProcessAdded(org.kie.api.definition.process.Process process) |
public static final String NAME
public org.kie.api.definition.process.Process getProcess()
public void onNodeAdded(org.jbpm.workflow.core.Node node)
onNodeAdded
in interface org.jbpm.compiler.xml.ProcessDataEventListener
public void onProcessAdded(org.kie.api.definition.process.Process process)
onProcessAdded
in interface org.jbpm.compiler.xml.ProcessDataEventListener
public void onMetaDataAdded(String name, Object data)
onMetaDataAdded
in interface org.jbpm.compiler.xml.ProcessDataEventListener
public void onComplete(org.kie.api.definition.process.Process process)
onComplete
in interface org.jbpm.compiler.xml.ProcessDataEventListener
public void onBuildComplete(org.kie.api.definition.process.Process process)
onBuildComplete
in interface org.jbpm.compiler.xml.ProcessDataEventListener
public void addDistinctProcessVariables(List<org.jbpm.process.core.context.variable.Variable> variables, org.kie.workbench.common.services.refactoring.Resource resource)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.