Can now get json objects from wrappers

This commit is contained in:
Timo Ley 2020-07-27 21:27:58 +02:00
parent 0eb0c09202
commit d7d0eb1e87
1 changed files with 13 additions and 0 deletions

View File

@ -163,6 +163,11 @@ public class ASWrapper {
return "";
}
@Nullable
public AddonscriptJSON.Version getVersion() {
return version;
}
}
public class FileWrapper {
@ -233,6 +238,10 @@ public class ASWrapper {
return file.installer;
}
public AddonscriptJSON.File getFile() {
return file;
}
}
public class RelationWrapper {
@ -286,6 +295,10 @@ public class ASWrapper {
}
}
public AddonscriptJSON.Relation getRelation() {
return relation;
}
}
public static Map<ArtifactDestination, MetaData> getMetaData(ArtifactDestination[] artifacts) {