forked from magento/magento2-phpstorm-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMagentoProjectGeneratorSettings.java
64 lines (54 loc) · 1.73 KB
/
MagentoProjectGeneratorSettings.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
package com.magento.idea.magento2plugin.generation.php;
import com.magento.idea.magento2plugin.project.Settings;
import java.util.List;
public class MagentoProjectGeneratorSettings {
private final Settings.State myMagentoState;
private final String packageName;
private final String moduleName;
private final String moduleDescription;
private final String composerPackageName;
private final String moduleVersion;
private final List<String> moduleLicenses;
public MagentoProjectGeneratorSettings(
Settings.State state,
String packageName,
String moduleName,
String moduleDescription,
String composerPackageName,
String moduleVersion,
List<String> moduleLicenses
) {
this.myMagentoState = state;
this.packageName = packageName;
this.moduleName = moduleName;
this.moduleDescription = moduleDescription;
this.composerPackageName = composerPackageName;
this.moduleVersion = moduleVersion;
this.moduleLicenses = moduleLicenses;
}
public String getPackageName() {
return packageName;
}
public String getModuleName() {
return moduleName;
}
public String getModuleDescription() {
return moduleDescription;
}
public String getComposerPackageName() {
return composerPackageName;
}
public String getModuleVersion() {
return moduleVersion;
}
public List<String> getModuleLicenses() {
return moduleLicenses;
}
public Settings.State getMagentoState() {
return this.myMagentoState;
}
}