Package org.camunda.bpm.engine.impl.cmd
Class GetDeploymentProcessDiagramCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.GetDeploymentProcessDiagramCmd
-
- All Implemented Interfaces:
Serializable
,Command<InputStream>
public class GetDeploymentProcessDiagramCmd extends Object implements Command<InputStream>, Serializable
Gives access to a deployed process diagram, e.g., a PNG image, through a stream of bytes.- Author:
- Falko Menge
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
processDefinitionId
-
Constructor Summary
Constructors Constructor Description GetDeploymentProcessDiagramCmd(String processDefinitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
execute(CommandContext commandContext)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
processDefinitionId
protected String processDefinitionId
-
-
Constructor Detail
-
GetDeploymentProcessDiagramCmd
public GetDeploymentProcessDiagramCmd(String processDefinitionId)
-
-
Method Detail
-
execute
public InputStream execute(CommandContext commandContext)
- Specified by:
execute
in interfaceCommand<InputStream>
-
-