public class GraphPolicyRule extends Object
GraphPolicy.
 It is designed to be conveniently created using Spring by supplying configuration metadata to the bean container.| Constructor and Description | 
|---|
| GraphPolicyRule() | 
| Modifier and Type | Method and Description | 
|---|---|
| static GraphPolicy | parseRules(GraphPathBean graphPathBean,
          Collection<GraphPolicyRule> rules)Convert the text-based rules as specified in the configuration metadata into a policy applicable in
 model object graph traversal. | 
| void | setChanges(String changes) | 
| void | setError(String message) | 
| void | setMatches(String matches) | 
| String | toString() | 
public void setMatches(String matches)
matches - the match conditions for this policy rule, comma-separatedpublic void setChanges(String changes)
changes - the changes caused by this policy rule, comma-separatedpublic void setError(String message)
message - the error message triggered by this policy rulepublic static GraphPolicy parseRules(GraphPathBean graphPathBean, Collection<GraphPolicyRule> rules) throws GraphException
graphPathBean - the graph path beanrules - the rules to applyGraphTraversalGraphException - if the text-based rules could not be parsed
                
                
Version: 5.2.1-ice35-b15
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.