public class VerbDefinitionResolver extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<VerbDefinition> |
verbDefinitionSet |
Constructor and Description |
---|
VerbDefinitionResolver() |
VerbDefinitionResolver(Set<VerbDefinition> verbDefinitionSet) |
Modifier and Type | Method and Description |
---|---|
static boolean |
filter(Activity activity,
ObjectCombination criteria)
whether this Activity matches this ObjectCombination.
|
static boolean |
filterType(ActivityObject activityObject,
boolean required,
String pattern) |
List<ObjectCombination> |
matchingObjectCombinations(Activity activity)
return all matching ObjectCombinations for an Activity.
|
Set<VerbDefinition> |
matchingVerbDefinitions(Activity activity)
return all matching VerbDefinitions for an Activity.
|
protected Set<VerbDefinition> verbDefinitionSet
public VerbDefinitionResolver()
public VerbDefinitionResolver(Set<VerbDefinition> verbDefinitionSet)
public Set<VerbDefinition> matchingVerbDefinitions(Activity activity)
activity
- Activitypublic List<ObjectCombination> matchingObjectCombinations(Activity activity)
activity
- Activitypublic static boolean filter(Activity activity, ObjectCombination criteria)
activity
- Activitycriteria
- ObjectCombinationpublic static boolean filterType(ActivityObject activityObject, boolean required, String pattern)
Copyright © 2018 The Apache Software Foundation. All rights reserved.