WebResource

interface WebResource

表示网络资源的接口.

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun addProperty(key: String, value: String?, override: Boolean): Result

添加属性.

Link copied to clipboard
abstract fun getName(): String

获取名称.

Link copied to clipboard
abstract fun getProperties(): Map<String, String?>

获取所有的属性.

Link copied to clipboard
abstract fun getProperty(key: String): String?

获取属性.

Link copied to clipboard
abstract fun getUrl(): String

获取插件下载地址.

Link copied to clipboard
abstract fun getVersion(): String

获取版本.

Link copied to clipboard
abstract fun removeProperty(key: String): Result

移除属性.

Link copied to clipboard
abstract fun setName(name: String)

设置名称.

Link copied to clipboard
abstract fun setUrl(url: String)

设置插件下载地址.

Link copied to clipboard
abstract fun setVersion(version: String)

设置版本.