summaryrefslogtreecommitdiffstats
path: root/config-model-api
diff options
context:
space:
mode:
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, 4 insertions, 2 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 c7258d8aede..f926259f115 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,10 +159,12 @@ public interface ApplicationPackage {
}
/**
- * Returns inforamtion about a file
+ * Gets a file from the root of the application package
+ *
*
* @param relativePath the relative path of the file within this application package.
- * @return information abut the file, returned whether or not the file exists
+ * @return information abut the file
+ * @throws IllegalArgumentException if the given path does not exist
*/
ApplicationFile getFile(Path relativePath);