org.jbpm.services.task.rule
Class TaskServiceRequest
java.lang.Object
org.jbpm.services.task.rule.TaskServiceRequest
public class TaskServiceRequest
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskServiceRequest
public TaskServiceRequest(String type,
User user,
Map<String,Object> parameters)
getType
public String getType()
getUser
public User getUser()
getParameters
public Map<String,Object> getParameters()
getParameter
public Object getParameter(String name)
isAllowed
public boolean isAllowed()
setAllowed
public void setAllowed(boolean allowed)
getReasons
public List<String> getReasons()
addReason
public void addReason(String reason)
getException
public org.kie.internal.task.exception.TaskException getException(String message)
getExceptionClass
public Class<? extends org.kie.internal.task.exception.TaskException> getExceptionClass()
setExceptionClass
public void setExceptionClass(Class<? extends org.kie.internal.task.exception.TaskException> exceptionClass)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.