package process
- Alphabetic
- Public
- All
Type Members
-
case class
AllMethodNamesPredicate(clazz: Class[_], exceptMethodNames: Set[String] = Set.empty) extends ClassMemberPredicate with Product with Serializable
Implementation of ClassMemberPredicate matching all methods that has the same name as methods in given class
Implementation of ClassMemberPredicate matching all methods that has the same name as methods in given class
- clazz
- class which method names will match predicate
- exceptMethodNames
- method names that will be excluded from matching
- trait AsyncExecutionContextPreparer extends AnyRef
- case class BasePackagePredicate(basePackageName: String) extends ClassPredicate with Product with Serializable
-
case class
ClassExtractionSettings(excludeClassPredicates: Seq[ClassPredicate], excludeClassMemberPredicates: Seq[ClassMemberPredicate], includeClassMemberPredicates: Seq[ClassMemberPredicate], propertyExtractionStrategy: PropertyFromGetterExtractionStrategy) extends Product with Serializable
Settings for class extraction which is done to handle e.g.
Settings for class extraction which is done to handle e.g. syntax suggestions in UI
One-liner that will help to find list of interesting methods in class:
classOf[CLASS_NAME].getMethods.filterNot(m => java.lang.reflect.Modifier.isStatic(m.getModifiers)).map(_.getName) .filterNot(Set("wait", "notify", "notifyAll", "equals", "hashCode", "getClass").contains).distinct.sorted.mkString("|")
- excludeClassPredicates
- sequence of predicates to determine hidden classes
- excludeClassMemberPredicates
- sequence of predicates to determine excluded class members - will be used all predicates that matches given class
- includeClassMemberPredicates
- sequence of predicates to determine included class members - will be used all predicates that matches given class. If none is matching, all non-excluded members will be visible.
- propertyExtractionStrategy
- strategy for extraction property based on getter. It can be defined what will happen if some class has 'getField' or 'isField' method. It can be: added 'field' property next to 'getField', replaced 'getField' with 'field' or leaved as it is.
-
case class
ClassMemberPatternPredicate(classPredicate: ClassPredicate, classMemberPattern: Pattern) extends ClassMemberPredicate with Product with Serializable
Simple implementation of ClassMemberPredicate based on class member's name pattern
Simple implementation of ClassMemberPredicate based on class member's name pattern
- classPredicate
- class predicate
- classMemberPattern
- class member's name pattern
-
trait
ClassMemberPredicate extends AnyRef
Predicate for class members (fields & methods)
-
case class
ClassPatternPredicate(classPattern: Pattern) extends ClassPredicate with Product with Serializable
Simple implementation of ClassPredicate based on pattern of class name
Simple implementation of ClassPredicate based on pattern of class name
- classPattern
- class name pattern
-
trait
ClassPredicate extends AnyRef
Predicate for classes
- class EmptyProcessConfigCreator extends ProcessConfigCreator
- case class ExactClassPredicate(classes: Class[_]*) extends ClassPredicate with Product with Serializable
- case class ExceptOfClassesPredicate(predicate: ClassPredicate, exceptions: ClassPredicate) extends ClassPredicate with Product with Serializable
- case class ExpressionConfig(globalProcessVariables: Map[String, WithCategories[AnyRef]], globalImports: List[WithCategories[String]], additionalClasses: List[Class[_]] = defaultAdditionalClasses, languages: LanguageConfiguration = LanguageConfiguration.default, optimizeCompilation: Boolean = true, strictTypeChecking: Boolean = defaultStrictTypeChecking, dictionaries: Map[String, WithCategories[DictDefinition]] = Map.empty, hideMetaVariable: Boolean = false, strictMethodsChecking: Boolean = defaultStrictMethodsChecking, staticMethodInvocationsChecking: Boolean = ..., methodExecutionForUnknownAllowed: Boolean = ..., dynamicPropertyAccessAllowed: Boolean = defaultDynamicPropertyAccessAllowed, spelExpressionExcludeList: SpelExpressionExcludeList = SpelExpressionExcludeList.default, customConversionsProviders: List[ConversionsProvider] = List.empty) extends Product with Serializable
- case class LanguageConfiguration(expressionParsers: List[ExpressionParser]) extends Product with Serializable
-
trait
ProcessConfigCreator extends Serializable
There Nussknacker fetches information about user defined model.
There Nussknacker fetches information about user defined model. Any invocation of user defined logic or resource goes through this class.
- sealed trait PropertyFromGetterExtractionStrategy extends AnyRef
- case class ReturnMemberPredicate(returnClassPredicate: ClassPredicate, classPredicate: ClassPredicate = _ => true) extends ClassMemberPredicate with Product with Serializable
-
case class
SuperClassPredicate(superClassPredicate: ClassPredicate) extends ClassPredicate with Product with Serializable
Predicate that matches all superclasses and interfaces based on pattern
Predicate that matches all superclasses and interfaces based on pattern
- superClassPredicate
- class predicate
- case class VisibleMembersPredicate(excludePredicates: Seq[ClassMemberPredicate], includePredicates: Option[NonEmptyList[ClassMemberPredicate]]) extends Product with Serializable
- case class WithCategories[+T](value: T, categories: Option[List[String]], componentConfig: SingleComponentConfig) extends Product with Serializable
Value Members
- object ClassExtractionSettings extends Serializable
- object ClassMemberPredicate
- object ClassPredicate
- object ExactClassPredicate extends Serializable
- object ExpressionConfig extends Serializable
- object LanguageConfiguration extends Serializable
- object PropertyFromGetterExtractionStrategy
- object WithCategories extends Serializable