Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
CacheAdminForm |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2005-2011 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.rice.core.web.cache; | |
17 | ||
18 | import org.kuali.rice.core.api.util.tree.Tree; | |
19 | import org.kuali.rice.krad.web.form.UifFormBase; | |
20 | ||
21 | import java.util.ArrayList; | |
22 | import java.util.Collection; | |
23 | ||
24 | 0 | public final class CacheAdminForm extends UifFormBase { |
25 | 0 | private Tree<String, String> cacheTree = new Tree<String, String>(); |
26 | ||
27 | //it would be nice if this were a cacheTree of selected nodes so it doesn't have to be parsed | |
28 | 0 | private Collection<String> flush = new ArrayList<String>(); |
29 | ||
30 | public void setCacheTree(Tree<String, String> cacheTree) { | |
31 | 0 | this.cacheTree = cacheTree; |
32 | 0 | } |
33 | ||
34 | public Tree<String, String> getCacheTree() { | |
35 | 0 | return cacheTree; |
36 | } | |
37 | ||
38 | public Collection<String> getFlush() { | |
39 | 0 | return flush; |
40 | } | |
41 | ||
42 | public void setFlush(Collection<String> flush) { | |
43 | 0 | this.flush = flush; |
44 | 0 | } |
45 | } |