Class MobileDataHelper<T>
java.lang.Object
com.inductiveautomation.perspective.common.mobile.MobileDataHelper<T>
-
Constructor Summary
ConstructorsConstructorDescriptionMobileDataHelper
(@NotNull String scriptName, @NotNull ResourceType resourceType, @NotNull Function<Resource, T> createInstance, @NotNull Function<T, String> getScript, @NotNull Predicate<T> isEnabled, @NotNull String configType) MobileDataHelper
(@NotNull String scriptName, @NotNull ResourceType resourceType, @NotNull Function<Resource, T> createInstance, @NotNull Function<T, String> getScript, @NotNull Predicate<T> isEnabled, @NotNull String configType, @NotNull Function<com.inductiveautomation.ignition.common.gson.JsonElement, org.python.core.PyObject> toPy) -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(Resource resource) getFromLegacy
(SystemEventsConfig legacyConfig) @NotNull String
boolean
@NotNull ResourceType
@NotNull String
@NotNull org.python.core.PyObject
toPy
(com.inductiveautomation.ignition.common.gson.JsonElement element)
-
Constructor Details
-
MobileDataHelper
public MobileDataHelper(@NotNull @NotNull String scriptName, @NotNull @NotNull ResourceType resourceType, @NotNull @NotNull Function<Resource, T> createInstance, @NotNull @NotNull Function<T, String> getScript, @NotNull @NotNull Predicate<T> isEnabled, @NotNull @NotNull String configType, @NotNull @NotNull Function<com.inductiveautomation.ignition.common.gson.JsonElement, org.python.core.PyObject> toPy) -
MobileDataHelper
-
-
Method Details
-
scriptName
-
resourceType
-
createInstance
-
getScript
-
isEnabled
-
getFromLegacy
-
toPy
@NotNull public @NotNull org.python.core.PyObject toPy(com.inductiveautomation.ignition.common.gson.JsonElement element)
-