summaryrefslogtreecommitdiffstats
path: root/config-model-api
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-08-29 10:48:20 +0200
committerJon Bratseth <bratseth@oath.com>2018-08-29 10:48:20 +0200
commit2f615f8288220a2667d75544d8bc747119cd3013 (patch)
tree11abaf778ce6d6c5fc2339d120d63451a8530eec /config-model-api
parentd01019d5de03c2aca0b8fec7fe8686cf9b0c1261 (diff)
Read stored models from Zk package for global rank profiles
Diffstat (limited to 'config-model-api')
-rw-r--r--config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java b/config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java
index f926259f115..c7258d8aede 100644
--- a/config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java
+++ b/config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java
@@ -159,12 +159,10 @@ public interface ApplicationPackage {
}
/**
- * Gets a file from the root of the application package
- *
+ * Returns inforamtion about a file
*
* @param relativePath the relative path of the file within this application package.
- * @return information abut the file
- * @throws IllegalArgumentException if the given path does not exist
+ * @return information abut the file, returned whether or not the file exists
*/
ApplicationFile getFile(Path relativePath);