Can now get json objects from wrappers
This commit is contained in:
parent
0eb0c09202
commit
d7d0eb1e87
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue