Class ScriptUtils
java.lang.Object
ru.cg.webbpm.packages.base.converters.util.ScriptUtils
Utility class to contain methods that are useful for script conversion
- Author:
- m.popov
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<PropertyValue>
getComplexPropertyValues
(Script script, Predicate<PropertyValue> predicate) static List<PropertyValue>
getPropertyValues
(Script script, Predicate<PropertyValue> predicate) static List<PropertyValue>
getPropertyValuesWithExactRef
(Script script, ClassRef classRef) static List<PropertyValue>
getPropertyValuesWithInheritedRef
(Script script, ClassRef classRef, MetadataManager metadataManager) static boolean
isInherited
(Script script, ClassRef scriptRef, MetadataManager metadataManager) static boolean
isNotEmpty
(Script script)
-
Method Details
-
isNotEmpty
-
isInherited
public static boolean isInherited(Script script, ClassRef scriptRef, MetadataManager metadataManager) -
getPropertyValuesWithExactRef
-
getPropertyValuesWithInheritedRef
public static List<PropertyValue> getPropertyValuesWithInheritedRef(Script script, ClassRef classRef, MetadataManager metadataManager) -
getPropertyValues
public static List<PropertyValue> getPropertyValues(Script script, Predicate<PropertyValue> predicate) -
getComplexPropertyValues
public static List<PropertyValue> getComplexPropertyValues(Script script, Predicate<PropertyValue> predicate)
-