1. Project Clover database Tue Dec 20 2016 21:24:09 CET
  2. Package org.xwiki.extension.xar.internal.handler.packager

File PackageConfiguration.java

 

Coverage histogram

../../../../../../../img/srcFileCovDistChart10.png
0% of files have more coverage

Code metrics

0
16
16
1
129
80
16
1
1
16
1

Classes

Class Line # Actions
PackageConfiguration 32 16 0% 16 0
1.0100%
 

Contributing tests

This file is covered by 27 tests. .

Source view

1    /*
2    * See the NOTICE file distributed with this work for additional
3    * information regarding copyright ownership.
4    *
5    * This is free software; you can redistribute it and/or modify it
6    * under the terms of the GNU Lesser General Public License as
7    * published by the Free Software Foundation; either version 2.1 of
8    * the License, or (at your option) any later version.
9    *
10    * This software is distributed in the hope that it will be useful,
11    * but WITHOUT ANY WARRANTY; without even the implied warranty of
12    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13    * Lesser General Public License for more details.
14    *
15    * You should have received a copy of the GNU Lesser General Public
16    * License along with this software; if not, write to the Free
17    * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18    * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19    */
20    package org.xwiki.extension.xar.internal.handler.packager;
21   
22    import java.util.Set;
23   
24    import org.xwiki.extension.xar.internal.handler.XarExtensionPlan;
25    import org.xwiki.job.event.status.JobStatus;
26    import org.xwiki.model.reference.DocumentReference;
27   
28    /**
29    * @version $Id: c97307910bbb58c7ae5a93012668ede69ff60a2a $
30    * @since 4.0M2
31    */
 
32    public class PackageConfiguration
33    {
34    private String wiki;
35   
36    private DocumentReference user;
37   
38    private boolean interactive;
39   
40    private JobStatus jobStatus;
41   
42    private boolean verbose = false;
43   
44    private XarExtensionPlan xarExtensionPlan;
45   
46    private Set<String> entriesToImport;
47   
48    private boolean skipMandatorytDocuments = true;
49   
 
50  146 toggle public String getWiki()
51    {
52  146 return this.wiki;
53    }
54   
 
55  135 toggle public void setWiki(String wiki)
56    {
57  135 this.wiki = wiki;
58    }
59   
 
60  491 toggle public DocumentReference getUserReference()
61    {
62  491 return this.user;
63    }
64   
 
65  141 toggle public void setUser(DocumentReference user)
66    {
67  141 this.user = user;
68    }
69   
 
70  56 toggle public boolean isInteractive()
71    {
72  56 return this.interactive;
73    }
74   
 
75  141 toggle public void setInteractive(boolean interactive)
76    {
77  141 this.interactive = interactive;
78    }
79   
 
80  21 toggle public JobStatus getJobStatus()
81    {
82  21 return this.jobStatus;
83    }
84   
 
85  69 toggle public void setJobStatus(JobStatus jobStatus)
86    {
87  69 this.jobStatus = jobStatus;
88    }
89   
 
90  794 toggle public boolean isVerbose()
91    {
92  794 return this.verbose;
93    }
94   
 
95  135 toggle public void setVerbose(boolean verbose)
96    {
97  135 this.verbose = verbose;
98    }
99   
 
100  893 toggle public Set<String> getEntriesToImport()
101    {
102  893 return this.entriesToImport;
103    }
104   
 
105  57 toggle public void setEntriesToImport(Set<String> entriesToImport)
106    {
107  57 this.entriesToImport = entriesToImport;
108    }
109   
 
110  362 toggle public XarExtensionPlan getXarExtensionPlan()
111    {
112  362 return this.xarExtensionPlan;
113    }
114   
 
115  60 toggle public void setXarExtensionPlan(XarExtensionPlan xarExtensionPlan)
116    {
117  60 this.xarExtensionPlan = xarExtensionPlan;
118    }
119   
 
120  147 toggle public boolean isSkipMandatorytDocuments()
121    {
122  147 return this.skipMandatorytDocuments;
123    }
124   
 
125  135 toggle public void setSkipMandatorytDocuments(boolean skipMandatorytDocuments)
126    {
127  135 this.skipMandatorytDocuments = skipMandatorytDocuments;
128    }
129    }