Minor changes
This commit is contained in:
parent
7507be1b20
commit
b560f84d5f
|
@ -63,6 +63,10 @@ public class ASWrapper {
|
||||||
return json.toJSON();
|
return json.toJSON();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public RepoManager getRepositories() {
|
||||||
|
return repoManager;
|
||||||
|
}
|
||||||
|
|
||||||
//Options
|
//Options
|
||||||
|
|
||||||
public List<String> defaultOptions() {
|
public List<String> defaultOptions() {
|
||||||
|
@ -199,8 +203,12 @@ public class ASWrapper {
|
||||||
throw new RuntimeException("JSON File broken");
|
throw new RuntimeException("JSON File broken");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isArtifact() {
|
||||||
|
return Utils.notEmpty(file.artifact);
|
||||||
|
}
|
||||||
|
|
||||||
public String getArtifact() {
|
public String getArtifact() {
|
||||||
if (Utils.notEmpty(file.artifact))
|
if (isArtifact())
|
||||||
return file.artifact;
|
return file.artifact;
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue