Searched refs:PluginType (Results 1 – 3 of 3) sorted by relevance
238 val plugins = PluginType.fromRawArrayValue(pluginsRawValue) ?: return null in updateJSON()239 return plugins.filterIsInstance<PluginType.WithProps>() in updateJSON()263 internal sealed class PluginType { class264 data class WithProps(val plugin: PluginWithProps) : PluginType()265 data class WithoutProps(val plugin: PluginWithoutProps) : PluginType()269 private fun fromRawValue(value: Any): PluginType? { in fromRawValue()294 fun fromRawArrayValue(value: JSONArray): List<PluginType> { in fromRawArrayValue()295 return mutableListOf<PluginType>().apply { in fromRawArrayValue()
328 enum PluginType { in getPluginProperties() enum332 private static func fromRawValue(_ optionalValue: Any?) -> PluginType? { in getPluginProperties()358 static func fromRawArrayValue(_ value: [Any]) -> [PluginType]? { in getPluginProperties()364 let plugins = PluginType.fromRawArrayValue(pluginsRawValue) else { in getPluginProperties()