org.jbpm.command
Class GetProcessInstanceLogCommand
java.lang.Object
org.jbpm.command.AbstractBaseCommand
org.jbpm.command.GetProcessInstanceLogCommand
- All Implemented Interfaces:
- Serializable, Command
public class GetProcessInstanceLogCommand
- extends AbstractBaseCommand
Retrieve the org.jbpm.logging.log.ProcessLog for the process with the given
process-id returns a map that maps Tokens to Lists.
- Author:
- Bernd Ruecker (bernd.ruecker@camunda.com)
- See Also:
- Serialized Form
GetProcessInstanceLogCommand
public GetProcessInstanceLogCommand()
GetProcessInstanceLogCommand
public GetProcessInstanceLogCommand(long processInstanceId)
execute
public Object execute(JbpmContext jbpmContext)
throws Exception
- Throws:
Exception
loadLogdFromMap
protected Map loadLogdFromMap(Map logMap)
- access everything on all ProcessLog objects, which is not in the default fetch group from
hibernate, but needs to be accesible from the client overwrite this method, if you need more
details in your client
getProcessId
public long getProcessId()
- Deprecated. use getProcessInstanceId instead
setProcessId
public void setProcessId(long processId)
- Deprecated. use setProcessInstanceId instead
getProcessInstanceId
public long getProcessInstanceId()
setProcessInstanceId
public void setProcessInstanceId(long processInstanceId)
getAdditionalToStringInformation
public String getAdditionalToStringInformation()
- Overrides:
getAdditionalToStringInformation in class AbstractBaseCommand
processInstanceId
public GetProcessInstanceLogCommand processInstanceId(long processInstanceId)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.