Skip to content

Commit

Permalink
docs(adobeGH-213): add JavaDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
nicdard committed Jan 31, 2024
1 parent 4d3d3ac commit cf036b0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ims/src/main/java/com/adobe/aio/util/WorkspaceUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ public class WorkspaceUtil {
private WorkspaceUtil() {
}

/**
* Loads configurations for a Workspace from either one and only one of the following
* sources, probing them first to check that all the required properties are given,
* in order:
* <ol>
* <li>System Properties</li>
* <li>Environment Variables</li>
* <li>classpath:{@link WorkspaceUtil#DEFAULT_TEST_PROPERTIES}</li>
* </ol>
* @return a Workspace.Builder loaded with the provided config
*/
public static Workspace.Builder getSystemWorkspaceBuilder() {
if (StringUtils.isNoneBlank(
System.getProperty(PrivateKeyBuilder.AIO_ENCODED_PKCS_8),
Expand Down

0 comments on commit cf036b0

Please sign in to comment.