org.kie.services.remote.rest.graph
Class GraphViewerPluginImpl
java.lang.Object
org.kie.services.remote.rest.graph.GraphViewerPluginImpl
public class GraphViewerPluginImpl
- extends Object
This code needs to be finished -- it was pulled from the old jbpm-gwt module and the bpm-console projec.
The idea is to use this (and the underlying classes in the .jaxb package) to duplicate the image and image info functions
that the old gwt-console had.
/gwt-console-server/rs/process/definition/{id}/image
/gwt-console-server/rs/process/instance/{id}/activeNodeInfo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphViewerPluginImpl
public GraphViewerPluginImpl()
getActiveNodeInfo
public List<ActiveNodeInfo> getActiveNodeInfo(String instanceId)
getDiagramInfo
public DiagramInfo getDiagramInfo(String processId)
getProcessImage
public byte[] getProcessImage(String processId)
transfer
public static int transfer(InputStream in,
OutputStream out)
throws IOException
- Throws:
IOException
getDiagramURL
public URL getDiagramURL(String id)
getNodeInfoForActivities
public List<ActiveNodeInfo> getNodeInfoForActivities(String processDefinitionId,
List<String> activities)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.