/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.activiti.bpmn.model; import java.util.ArrayList; import java.util.List; /** * @author Tijs Rademakers */ public class UserTask extends Task { protected String assignee; protected Integer priority; protected String formKey; protected String dueDate; protected List<String> candidateUsers = new ArrayList<String>(); protected List<String> candidateGroups = new ArrayList<String>(); protected List<FormProperty> formProperties = new ArrayList<FormProperty>(); protected List<ActivitiListener> taskListeners = new ArrayList<ActivitiListener>(); public String getAssignee() { return assignee; } public void setAssignee(String assignee) { this.assignee = assignee; } public Integer getPriority() { return priority; } public void setPriority(Integer priority) { this.priority = priority; } public String getFormKey() { return formKey; } public void setFormKey(String formKey) { this.formKey = formKey; } public String getDueDate() { return dueDate; } public void setDueDate(String dueDate) { this.dueDate = dueDate; } public List<String> getCandidateUsers() { return candidateUsers; } public void setCandidateUsers(List<String> candidateUsers) { this.candidateUsers = candidateUsers; } public List<String> getCandidateGroups() { return candidateGroups; } public void setCandidateGroups(List<String> candidateGroups) { this.candidateGroups = candidateGroups; } public List<FormProperty> getFormProperties() { return formProperties; } public void setFormProperties(List<FormProperty> formProperties) { this.formProperties = formProperties; } public List<ActivitiListener> getTaskListeners() { return taskListeners; } public void setTaskListeners(List<ActivitiListener> taskListeners) { this.taskListeners = taskListeners; } }