5
5
import com.devonfw.cobigen.api.util.MavenCoordinate;
6
6
7
7
/**
8
- * Data wrapper for configuration Properties. The properties are groupIds, hideTemplates and allowSnapshots
9
- *
8
+ * Data wrapper for configuration Properties. The properties are groupIds, hideTemplates, allowSnapshots and
9
+ * templateSetsInstalled
10
10
*/
11
11
public class ConfigurationProperties {
12
12
@@ -16,27 +16,27 @@ public class ConfigurationProperties {
16
16
/** allow snapshots of template-sets */
17
17
private boolean allowSnapshots;
18
18
19
- /** List of mavenCoordinates for the template sets that should be installed at cobigen startup */
20
- private List<MavenCoordinate> templatesInstalled ;
19
+ /** List of mavenCoordinates for the template sets that should be installed at CobiGen startup */
20
+ private List<MavenCoordinate> templateSetsInstalled ;
21
21
22
22
/** variable to hide very specific template sets or versions of template sets */
23
- private List<MavenCoordinate> hideTemplates ;
23
+ private List<MavenCoordinate> hideTemplateSets ;
24
24
25
25
/**
26
- * The constructor. load properties from a given source
26
+ * The constructor. Loads properties from a given source
27
27
*
28
28
* @param groupIds groupID from key template-sets.groupIds
29
29
* @param allowSnapshots from key template-sets.allow-snapshot
30
30
* @param hideTemplates from key template-set.hide
31
- * @param mavenCoordinates list of mavenCoordinate that define the templates that should be installed
31
+ * @param templateSetsInstalled list of mavenCoordinate that define the templates sets that should be installed
32
32
*/
33
33
public ConfigurationProperties(List<String> groupIds, boolean allowSnapshots, List<MavenCoordinate> hideTemplates,
34
- List<MavenCoordinate> mavenCoordinates ) {
34
+ List<MavenCoordinate> templateSetsInstalled ) {
35
35
36
36
this.groupIds = groupIds;
37
37
this.allowSnapshots = allowSnapshots;
38
- this.hideTemplates = hideTemplates;
39
- this.templatesInstalled = mavenCoordinates ;
38
+ this.hideTemplateSets = hideTemplates;
39
+ this.templateSetsInstalled = templateSetsInstalled ;
40
40
}
41
41
42
42
/**
@@ -82,41 +82,41 @@ public void setAllowSnapshots(boolean allowSnapshots) {
82
82
/**
83
83
* Returns a list of the saved templates to be hidden
84
84
*
85
- * @return hideTemplates
85
+ * @return hideTemplateSets
86
86
*/
87
- public List<MavenCoordinate> getHideTemplates () {
87
+ public List<MavenCoordinate> getHideTemplateSets () {
88
88
89
- return this.hideTemplates ;
89
+ return this.hideTemplateSets ;
90
90
}
91
91
92
92
/**
93
93
* Sets a list of the HideTemplate from a source
94
94
*
95
- * @param hideTemplates new value of {@link #gethideTemplates }.
95
+ * @param hideTemplateSets new value of {@link #gethideTemplateSets }.
96
96
*/
97
- public void setHideTemplates (List<MavenCoordinate> hideTemplates ) {
97
+ public void setHideTemplateSets (List<MavenCoordinate> hideTemplateSets ) {
98
98
99
- this.hideTemplates = hideTemplates ;
99
+ this.hideTemplateSets = hideTemplateSets ;
100
100
}
101
101
102
102
/**
103
103
* Returns a list of maven coordinates for the download of template sets
104
104
*
105
105
* @return maven coordinates
106
106
*/
107
- public List<MavenCoordinate> getMavenCoordinates () {
107
+ public List<MavenCoordinate> getTemplateSetsInstalled () {
108
108
109
- return this.templatesInstalled ;
109
+ return this.templateSetsInstalled ;
110
110
}
111
111
112
112
/**
113
- * Set a list of templates that should be installed at startup
113
+ * Set a list of template sets that should be installed at startup
114
114
*
115
- * @param mavenCoordinates new value of {@link #getmavenCoordinates }.
115
+ * @param templateSetsInstalled new value of {@link #getTemplateSetsInstalled }.
116
116
*/
117
- public void setMavenCoordinates (List<MavenCoordinate> mavenCoordinates ) {
117
+ public void setTemplateSetsInstalled (List<MavenCoordinate> templateSetsInstalled ) {
118
118
119
- this.templatesInstalled = mavenCoordinates ;
119
+ this.templateSetsInstalled = templateSetsInstalled ;
120
120
}
121
121
122
122
}
0 commit comments