Zowe Config
Represents an object model of zowe.config.json file.
Author
Valiantsin Krus
Since
2021-08-12
Constructors
Types
Builder class for setting the sequence of profiles to search property by name.
Functions
Extracts secure properties from secure store by zowe config file path in current instance.
Searches profile by its path. For example if profile has path "gr1.example" then it will search profile "example" in "gr1" group.
Updates secure object for provided file in credential object and save these changes to credential storage.
Searches for a property with creating profiles sequence to search.
Searches where to set property value and sets it after searching by given profiles sequence. For example if given profiles sequence is zosmf -> base then it checks that zosmf profile or its parent contains property and if so, then method will set property in this profile else method will try to find property in base profile and set it there etc. If profile with corresponding property not found then nothing will happen.
Deserializes current ZoweConfig instance to JSON string without secure properties.
Creates ZOSConnection based on zowe config or throws exception if data is not correct.
Searches for a property and updates it in found profile with creating profiles sequence to search.