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

File DefaultMavenExtension.java

 

Coverage histogram

../../../../../img/srcFileCovDistChart4.png
78% of files have more coverage

Code metrics

0
3
3
1
71
21
3
1
1
3
1

Classes

Class Line # Actions
DefaultMavenExtension 32 3 0% 3 4
0.3333333433.3%
 

Contributing tests

This file is covered by 19 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.internal.maven;
21   
22    import org.xwiki.extension.Extension;
23    import org.xwiki.extension.repository.ExtensionRepository;
24    import org.xwiki.extension.version.Version;
25   
26    /**
27    * Default implementation of {@link MavenExtension}.
28    *
29    * @version $Id: aa25f19e51a3b33d0b242a11c1019caf8e12c042 $
30    * @since 7.3M1
31    */
 
32    public class DefaultMavenExtension extends AbstractMavenExtension
33    {
34    /**
35    * @param repository the repository where this extension comes from
36    * @param groupId the maven artifact group id
37    * @param artifactId the maven artifact artifact id
38    * @param version the maven artifact version
39    * @param type the extension type
40    */
 
41  0 toggle public DefaultMavenExtension(ExtensionRepository repository, String groupId, String artifactId, String version,
42    String type)
43    {
44  0 super(repository, groupId, artifactId, version, type);
45    }
46   
47    /**
48    * @param repository the repository where this extension comes from
49    * @param groupId the maven artifact group id
50    * @param artifactId the maven artifact artifact id
51    * @param version the maven artifact version
52    * @param type the extension type
53    * @since 8.4
54    */
 
55  24406 toggle public DefaultMavenExtension(ExtensionRepository repository, String groupId, String artifactId, Version version,
56    String type)
57    {
58  24406 super(repository, groupId, artifactId, version, type);
59    }
60   
61    /**
62    * Create new Maven extension descriptor by copying provided one.
63    *
64    * @param repository the repository where this extension comes from
65    * @param extension the extension to copy
66    */
 
67  0 toggle public DefaultMavenExtension(ExtensionRepository repository, Extension extension)
68    {
69  0 super(repository, extension);
70    }
71    }