Skip to content

Commit 9b39216

Browse files
committed
Updated javadocs
1 parent 9466fab commit 9b39216

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

marklogic-data-hub/src/main/java/com/marklogic/hub/HubConfig.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@
2626
import javax.net.ssl.SSLContext;
2727
import javax.net.ssl.X509TrustManager;
2828
import java.nio.file.Path;
29-
import java.util.Properties;
3029

3130
/**
32-
* An interface to set, manage and recall the Data Hub's Configuration
31+
* An interface to set, manage and recall the Data Hub's Configuration.
32+
* HubConfig has a singleton scope so set everything you want at the start of the application and
33+
* and then call {@link #refreshProject()} to wire up all clients.
3334
*/
3435
@JsonDeserialize(as = HubConfigImpl.class)
3536
@JsonSerialize(as = HubConfigImpl.class)
@@ -535,8 +536,8 @@ public interface HubConfig {
535536
* In a non-Gradle environment, a client can use this to load properties from a "gradle-(environment).properties"
536537
* file, similar to how the Gradle properties plugin would process such a file in a Gradle context.
537538
*
538-
* @param environment
539-
* @return
539+
* @param environment - The name of the environment to use (local,dev,qa,prod,...)
540+
* @return A HubConfig
540541
*/
541542
HubConfig withPropertiesFromEnvironment(String environment);
542543

0 commit comments

Comments
 (0)