Minor changes

This commit is contained in:
Timo Ley 2020-07-26 16:07:08 +02:00
parent 7507be1b20
commit b560f84d5f
1 changed files with 9 additions and 1 deletions

View File

@ -63,6 +63,10 @@ public class ASWrapper {
return json.toJSON();
}
public RepoManager getRepositories() {
return repoManager;
}
//Options
public List<String> defaultOptions() {
@ -199,8 +203,12 @@ public class ASWrapper {
throw new RuntimeException("JSON File broken");
}
public boolean isArtifact() {
return Utils.notEmpty(file.artifact);
}
public String getArtifact() {
if (Utils.notEmpty(file.artifact))
if (isArtifact())
return file.artifact;
return "";
}