Can now get options from file or relation

This commit is contained in:
Timo Ley 2020-07-27 22:31:30 +02:00
parent d7d0eb1e87
commit 62e621c413
2 changed files with 15 additions and 1 deletions

View File

@ -16,7 +16,7 @@ public class ManifestJSON extends JSON {
public String manifestType;
public String manifestVersion;
public int manifestVersion;
public String name;

View File

@ -242,6 +242,13 @@ public class ASWrapper {
return file;
}
public List<String> getOptions() {
if (file.options != null)
return file.options;
else
return defaultOptions();
}
}
public class RelationWrapper {
@ -299,6 +306,13 @@ public class ASWrapper {
return relation;
}
public List<String> getOptions() {
if (relation.options != null)
return relation.options;
else
return defaultOptions();
}
}
public static Map<ArtifactDestination, MetaData> getMetaData(ArtifactDestination[] artifacts) {