001/**
002 * Copyright 2010-2014 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.kuali.common.util.scm;
017
018import java.io.File;
019import java.util.List;
020
021public class ScmRequest {
022
023        List<File> adds;
024        List<File> deletes;
025        List<File> commits;
026        List<File> updates;
027        String commitMessage;
028
029        public ScmRequest() {
030                this(null, null, null, null);
031        }
032
033        public ScmRequest(List<File> adds, List<File> deletes, List<File> commits, String commitMessage) {
034                super();
035                this.adds = adds;
036                this.deletes = deletes;
037                this.commits = commits;
038                this.commitMessage = commitMessage;
039        }
040
041        public List<File> getAdds() {
042                return adds;
043        }
044
045        public void setAdds(List<File> adds) {
046                this.adds = adds;
047        }
048
049        public List<File> getDeletes() {
050                return deletes;
051        }
052
053        public void setDeletes(List<File> deletes) {
054                this.deletes = deletes;
055        }
056
057        public List<File> getCommits() {
058                return commits;
059        }
060
061        public void setCommits(List<File> commits) {
062                this.commits = commits;
063        }
064
065        public String getCommitMessage() {
066                return commitMessage;
067        }
068
069        public void setCommitMessage(String commitMessage) {
070                this.commitMessage = commitMessage;
071        }
072
073        public List<File> getUpdates() {
074                return updates;
075        }
076
077        public void setUpdates(List<File> updates) {
078                this.updates = updates;
079        }
080
081}