Skip to content

Commit 24f4770

Browse files
author
Vitaliy Boyko
committed
Added enums
1 parent 3d8e446 commit 24f4770

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Copyright © Magento, Inc. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
5+
6+
package com.magento.idea.magento2plugin.magento.packages;
7+
8+
public enum Areas {
9+
base,
10+
adminhtml,
11+
frontend,
12+
crontab,
13+
webapi_rest,
14+
webapi_soap,
15+
graphql
16+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/**
2+
* Copyright © Magento, Inc. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
5+
6+
package com.magento.idea.magento2plugin.magento.packages;
7+
8+
public enum Licenses {
9+
CUSTOM("Custom License"),
10+
OSL("Open Software License (OSL)"),
11+
MPL("Mozilla Public License (MPL)"),
12+
MITL("Massachusetts Institute of Technology License (MITL)"),
13+
LGPL("GNU Lesser General Public License (LGPL)"),
14+
GPL("GNU General Public License (GPL)"),
15+
BSDL("Berkeley Software Distribution License (BSDL)"),
16+
ASL("Apache Software License (ASL)"),
17+
AFL("Academic Free License (AFL)");
18+
19+
private String licenseName;
20+
21+
Licenses(String name) {
22+
this.licenseName = name;
23+
}
24+
25+
public String getLicenseName() {
26+
return licenseName;
27+
}
28+
}

0 commit comments

Comments
 (0)