55import com .devonfw .cobigen .api .util .MavenCoordinate ;
66
77/**
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
1010 */
1111public class ConfigurationProperties {
1212
@@ -16,27 +16,27 @@ public class ConfigurationProperties {
1616 /** allow snapshots of template-sets */
1717 private boolean allowSnapshots ;
1818
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 ;
2121
2222 /** variable to hide very specific template sets or versions of template sets */
23- private List <MavenCoordinate > hideTemplates ;
23+ private List <MavenCoordinate > hideTemplateSets ;
2424
2525 /**
26- * The constructor. load properties from a given source
26+ * The constructor. Loads properties from a given source
2727 *
2828 * @param groupIds groupID from key template-sets.groupIds
2929 * @param allowSnapshots from key template-sets.allow-snapshot
3030 * @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
3232 */
3333 public ConfigurationProperties (List <String > groupIds , boolean allowSnapshots , List <MavenCoordinate > hideTemplates ,
34- List <MavenCoordinate > mavenCoordinates ) {
34+ List <MavenCoordinate > templateSetsInstalled ) {
3535
3636 this .groupIds = groupIds ;
3737 this .allowSnapshots = allowSnapshots ;
38- this .hideTemplates = hideTemplates ;
39- this .templatesInstalled = mavenCoordinates ;
38+ this .hideTemplateSets = hideTemplates ;
39+ this .templateSetsInstalled = templateSetsInstalled ;
4040 }
4141
4242 /**
@@ -82,41 +82,41 @@ public void setAllowSnapshots(boolean allowSnapshots) {
8282 /**
8383 * Returns a list of the saved templates to be hidden
8484 *
85- * @return hideTemplates
85+ * @return hideTemplateSets
8686 */
87- public List <MavenCoordinate > getHideTemplates () {
87+ public List <MavenCoordinate > getHideTemplateSets () {
8888
89- return this .hideTemplates ;
89+ return this .hideTemplateSets ;
9090 }
9191
9292 /**
9393 * Sets a list of the HideTemplate from a source
9494 *
95- * @param hideTemplates new value of {@link #gethideTemplates }.
95+ * @param hideTemplateSets new value of {@link #gethideTemplateSets }.
9696 */
97- public void setHideTemplates (List <MavenCoordinate > hideTemplates ) {
97+ public void setHideTemplateSets (List <MavenCoordinate > hideTemplateSets ) {
9898
99- this .hideTemplates = hideTemplates ;
99+ this .hideTemplateSets = hideTemplateSets ;
100100 }
101101
102102 /**
103103 * Returns a list of maven coordinates for the download of template sets
104104 *
105105 * @return maven coordinates
106106 */
107- public List <MavenCoordinate > getMavenCoordinates () {
107+ public List <MavenCoordinate > getTemplateSetsInstalled () {
108108
109- return this .templatesInstalled ;
109+ return this .templateSetsInstalled ;
110110 }
111111
112112 /**
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
114114 *
115- * @param mavenCoordinates new value of {@link #getmavenCoordinates }.
115+ * @param templateSetsInstalled new value of {@link #getTemplateSetsInstalled }.
116116 */
117- public void setMavenCoordinates (List <MavenCoordinate > mavenCoordinates ) {
117+ public void setTemplateSetsInstalled (List <MavenCoordinate > templateSetsInstalled ) {
118118
119- this .templatesInstalled = mavenCoordinates ;
119+ this .templateSetsInstalled = templateSetsInstalled ;
120120 }
121121
122122}
0 commit comments