8000 Added deprecated field in index parsing · arduino-collections/Arduino-1@bf2f90d · GitHub
[go: up one dir, main page]

Skip to content

Commit bf2f90d

Browse files
committed
Added deprecated field in index parsing
1 parent b68d4b6 commit bf2f90d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

arduino-core/src/cc/arduino/contributions/packages/ContributedPlatform.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public class ContributedPlatform extends DownloadableContribution {
6060
private boolean builtIn;
6161
private Map<ContributedToolReference, ContributedTool> resolvedToolReferences;
6262
private ContributedPackage parentPackage;
63+
private boolean deprecated;
6364

6465
@Override
6566
public String getUrl() { return url; }
@@ -157,6 +158,14 @@ public void setParentPackage(ContributedPackage parentPackage) {
157158
this.parentPackage = parentPackage;
158159
}
159160

161+
public boolean isDeprecated() {
162+
return deprecated;
163+
}
164+
165+
public void setDeprecated(boolean deprecated) {
166+
this.deprecated = deprecated;
167+
}
168+
160169
@Override
161170
public String toString() {
162171
return getParsedVersion();

0 commit comments

Comments
 (0)
0