Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2005-2013 The Kuali Foundation Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php 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.kuali.rice.kew.engine;
Specifies configuration for orchestration through the engine.

Author(s):
Kuali Rice Team (rice.collab@kuali.org)
public class OrchestrationConfig {
    public enum EngineCapability { STANDARD, BLANKET_APPROVAL, SIMULATION }
    
    private final EngineCapability capability;
    private final boolean sendNotifications;
    private final Set<StringdestinationNodeNames;
    private final ActionTakenValue cause;
    private final boolean runPostProcessorLogic;
    
    public OrchestrationConfig(EngineCapability capability) {
        this(capability, Collections.<String>emptySet(), nulltruetrue);
    }
    
    public OrchestrationConfig(EngineCapability capabilityboolean isRunPostProcessorLogic) {
        this(capability, Collections.<String>emptySet(), nulltrueisRunPostProcessorLogic);
    }
    
    public OrchestrationConfig(EngineCapability capabilitySet<StringdestinationNodeNamesActionTakenValue cause) {
        this(capabilitydestinationNodeNamescausetruetrue);
    }
    
    public OrchestrationConfig(EngineCapability capabilitySet<StringdestinationNodeNamesActionTakenValue causeboolean sendNotificationsboolean doRunPostProcessorLogic) {
        this. = capability;
        this. = Collections.unmodifiableSet(new HashSet<String>(destinationNodeNames));
        this. = cause;
        this. = sendNotifications;
        this. = doRunPostProcessorLogic;
    }
    
    public Set<StringgetDestinationNodeNames() {
        return ;
    }
    public String getNotificationType() {
        return ;
    }
    public boolean isSendNotifications() {
        return ;
    }
    public ActionTakenValue getCause() {
        return ;
    }
	public boolean isRunPostProcessorLogic() {
	}

    

Returns:
the capability
    public EngineCapability getCapability() {
        return this.;
    }    
    
New to GrepCode? Check out our FAQ X