Package-level declarations

Types

Link copied to clipboard

Implements ability to access secure storage of operating system using library com.starxg.java-keytar. It uses the following storages depending on the operating system:

Link copied to clipboard
interface KeytarWrapper

Represents API to interact with secure storage.

Link copied to clipboard
class ZoweConfig(schema: String, val profiles: Map<String, ZoweConfigProfile>, val defaults: Map<String, String>)

Represents an object model of zowe.config.json file.

Link copied to clipboard
class ZoweConfigProfile(val type: String, val properties: MutableMap<String, Any?>?, val secure: ArrayList<String>?, val profiles: Map<String, ZoweConfigProfile>?, var parentProfile: ZoweConfigProfile?)
Link copied to clipboard
data class ZoweConnection(var host: String?, var port: Int?, var user: String?, var password: String?, var rejectUnauthorized: Boolean = true, var protocol: String = "http", var basePath: String = "/", var encoding: Int? = 1047, var responseTimeout: Int = 600)

Functions

Link copied to clipboard
fun String.decodeFromBase64(charset: Charset = Charsets.UTF_8): String
Link copied to clipboard
fun String.encodeToBase64(charset: Charset = Charsets.UTF_8): String
Link copied to clipboard

Reads input stream and parse it to ZoweConfig object model.

fun parseConfigJson(configString: String): ZoweConfig

Parses JSON string to ZoweConfig object model.

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard