View Javadoc
1   /**
2    * Copyright 2010-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.common.util.scm;
17  
18  import java.io.File;
19  import java.util.List;
20  
21  public class ScmRequest {
22  
23  	List<File> adds;
24  	List<File> deletes;
25  	List<File> commits;
26  	List<File> updates;
27  	String commitMessage;
28  
29  	public ScmRequest() {
30  		this(null, null, null, null);
31  	}
32  
33  	public ScmRequest(List<File> adds, List<File> deletes, List<File> commits, String commitMessage) {
34  		super();
35  		this.adds = adds;
36  		this.deletes = deletes;
37  		this.commits = commits;
38  		this.commitMessage = commitMessage;
39  	}
40  
41  	public List<File> getAdds() {
42  		return adds;
43  	}
44  
45  	public void setAdds(List<File> adds) {
46  		this.adds = adds;
47  	}
48  
49  	public List<File> getDeletes() {
50  		return deletes;
51  	}
52  
53  	public void setDeletes(List<File> deletes) {
54  		this.deletes = deletes;
55  	}
56  
57  	public List<File> getCommits() {
58  		return commits;
59  	}
60  
61  	public void setCommits(List<File> commits) {
62  		this.commits = commits;
63  	}
64  
65  	public String getCommitMessage() {
66  		return commitMessage;
67  	}
68  
69  	public void setCommitMessage(String commitMessage) {
70  		this.commitMessage = commitMessage;
71  	}
72  
73  	public List<File> getUpdates() {
74  		return updates;
75  	}
76  
77  	public void setUpdates(List<File> updates) {
78  		this.updates = updates;
79  	}
80  
81  }