commit | b0595873432ccfb298d780da92151bc9dd2f6840 | [log] [tgz] |
---|---|---|
author | Michael Blow <mblow@apache.org> | Tue May 09 02:36:03 2017 -0400 |
committer | Michael Blow <mblow@apache.org> | Wed May 10 13:00:08 2017 -0700 |
tree | f94019a1690fe772d0d303c62235c8afd2956a6a | |
parent | ac5108eca1dfa52a03e43b1daec81aa8a76d0822 [diff] |
Add getURL Accessor To IApplicationConfig Change-Id: I7823ebe31d787399523386f0439128150c58ab39 Reviewed-on: https://asterix-gerrit.ics.uci.edu/1731 Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu> BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: Till Westmann <tillw@apache.org>
diff --git a/hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/config/IApplicationConfig.java b/hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/config/IApplicationConfig.java index 0335b80..ddcaab3 100644 --- a/hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/config/IApplicationConfig.java +++ b/hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/config/IApplicationConfig.java
@@ -18,6 +18,7 @@ */ package org.apache.hyracks.api.config; +import java.net.URL; import java.util.List; import java.util.Set; import java.util.function.Predicate; @@ -84,4 +85,8 @@ default String [] getStringArray(IOption option) { return (String [])get(option); } + + default URL getURL(IOption option) { + return (URL)get(option); + } }