
org.kie.kogito.task.management.service.TaskInfo Maven / Gradle / Ivy
The newest version!
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.kie.kogito.task.management.service;
import java.util.Map;
import java.util.Set;
public class TaskInfo {
private String description;
private String priority;
private Set potentialUsers;
private Set potentialGroups;
private Set excludedUsers;
private Set adminUsers;
private Set adminGroups;
private Map inputParams;
public TaskInfo() {
}
public TaskInfo(String description, String priority, Set potentialUsers, Set potentialGroups,
Set excludedUsers, Set adminUsers, Set adminGroups,
Map inputParams) {
this.description = description;
this.priority = priority;
this.potentialUsers = potentialUsers;
this.potentialGroups = potentialGroups;
this.excludedUsers = excludedUsers;
this.adminUsers = adminUsers;
this.adminGroups = adminGroups;
this.inputParams = inputParams;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getPriority() {
return priority;
}
public void setPriority(String priority) {
this.priority = priority;
}
public Set getPotentialUsers() {
return potentialUsers;
}
public void setPotentialUsers(Set potentialUsers) {
this.potentialUsers = potentialUsers;
}
public Set getPotentialGroups() {
return potentialGroups;
}
public void setPotentialGroups(Set potentialGroups) {
this.potentialGroups = potentialGroups;
}
public Set getExcludedUsers() {
return excludedUsers;
}
public void setExcludedUsers(Set excludedUsers) {
this.excludedUsers = excludedUsers;
}
public Set getAdminUsers() {
return adminUsers;
}
public void setAdminUsers(Set adminUsers) {
this.adminUsers = adminUsers;
}
public Set getAdminGroups() {
return adminGroups;
}
public void setAdminGroups(Set adminGroups) {
this.adminGroups = adminGroups;
}
public Map getInputParams() {
return inputParams;
}
public void setInputParams(Map inputParams) {
this.inputParams = inputParams;
}
@Override
public String toString() {
return "TaskInfo [description=" + description + ", priority=" + priority + ", potentialUsers=" +
potentialUsers + ", potentialGroups=" + potentialGroups + ", excludedUsers=" + excludedUsers +
", adminUsers=" + adminUsers + ", adminGroups=" + adminGroups + ", inputParams=" + inputParams + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy