org.drools.task.service.OperationCommand Maven / Gradle / Ivy
/**
* Copyright 2010 JBoss Inc
*
* 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.drools.task.service;
import java.util.List;
import org.drools.task.Status;
public class OperationCommand {
private List status;
private List previousStatus;
private List allowed;
private Status newStatus;
private boolean setNewOwnerToUser;
private boolean setNewOwnerToNull;
private boolean setToPreviousStatus;
private boolean userIsExplicitPotentialOwner;
private boolean addTargetUserToPotentialOwners;
private boolean removeUserFromPotentialOwners;
private boolean skippable;
private Operation exec;
public List getStatus() {
return status;
}
public void setStatus(List status) {
this.status = status;
}
public List getPreviousStatus() {
return previousStatus;
}
public void setPreviousStatus(List previousStatus) {
this.previousStatus = previousStatus;
}
public List getAllowed() {
return allowed;
}
public void setAllowed(List allowed) {
this.allowed = allowed;
}
public Status getNewStatus() {
return newStatus;
}
public boolean isSetNewOwnerToNull() {
return setNewOwnerToNull;
}
public void setSetNewOwnerToNull(boolean setNewOwnerToNull) {
this.setNewOwnerToNull = setNewOwnerToNull;
}
public boolean isAddTargetUserToPotentialOwners() {
return addTargetUserToPotentialOwners;
}
public void setNewStatus(Status newStatus) {
this.newStatus = newStatus;
}
public boolean isSetNewOwnerToUser() {
return setNewOwnerToUser;
}
public void setSetNewOwnerToUser(boolean setNewOwnerToTargetUser) {
this.setNewOwnerToUser = setNewOwnerToTargetUser;
}
public boolean isSetToPreviousStatus() {
return setToPreviousStatus;
}
public void setSetToPreviousStatus(boolean setToPreviousStatus) {
this.setToPreviousStatus = setToPreviousStatus;
}
public boolean isUserIsExplicitPotentialOwner() {
return userIsExplicitPotentialOwner;
}
public void setUserIsExplicitPotentialOwner(boolean userIsExplicitPotentialOwner) {
this.userIsExplicitPotentialOwner = userIsExplicitPotentialOwner;
}
public boolean isAddTargetEntityToPotentialOwners() {
return addTargetUserToPotentialOwners;
}
public void setAddTargetUserToPotentialOwners(boolean addTargetUserToPotentialOwners) {
this.addTargetUserToPotentialOwners = addTargetUserToPotentialOwners;
}
public boolean isRemoveUserFromPotentialOwners() {
return removeUserFromPotentialOwners;
}
public void setRemoveUserFromPotentialOwners(boolean removeUserFromPotentialOwners) {
this.removeUserFromPotentialOwners = removeUserFromPotentialOwners;
}
public boolean isSkippable() {
return skippable;
}
public void setSkippable(boolean skippable) {
this.skippable = skippable;
}
public Operation getExec() {
return exec;
}
public void setExec(Operation exec) {
this.exec = exec;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy