001    /**
002     * Copyright 2010 The Kuali Foundation Licensed under the
003     * Educational Community License, Version 2.0 (the "License"); you may
004     * not use this file except in compliance with the License. You may
005     * obtain a copy of the License at
006     *
007     * http://www.osedu.org/licenses/ECL-2.0
008     *
009     * Unless required by applicable law or agreed to in writing,
010     * software distributed under the License is distributed on an "AS IS"
011     * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
012     * or implied. See the License for the specific language governing
013     * permissions and limitations under the License.
014     */
015    
016    /**
017     * 
018     */
019    package org.kuali.student.lum.workflow.node;
020    
021    import java.util.ArrayList;
022    import java.util.List;
023    
024    import org.kuali.rice.kew.engine.RouteContext;
025    import org.kuali.rice.kew.engine.RouteHelper;
026    import org.kuali.rice.kew.engine.node.SplitNode;
027    import org.kuali.rice.kew.engine.node.SplitResult;
028    
029    /**
030     * @author delyea
031     *
032     */
033    public class MajorChangeSplitNode implements SplitNode {
034    
035            /* (non-Javadoc)
036             * @see org.kuali.rice.kew.engine.node.SplitNode#process(org.kuali.rice.kew.engine.RouteContext, org.kuali.rice.kew.engine.RouteHelper)
037             */
038            @Override
039            public SplitResult process(RouteContext context, RouteHelper helper) throws Exception {
040                    List<String> branchNames = new ArrayList<String>();
041                    branchNames.add("True");
042                    return new SplitResult(branchNames);
043            }
044    
045    }