public class GraphPolicyRule
extends java.lang.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,
          java.util.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(java.lang.String changes) | 
| void | setError(java.lang.String message) | 
| void | setMatches(java.lang.String matches) | 
| java.lang.String | toString() | 
public void setMatches(java.lang.String matches)
matches - the match conditions for this policy rule, comma-separatedpublic void setChanges(java.lang.String changes)
changes - the changes caused by this policy rule, comma-separatedpublic void setError(java.lang.String message)
message - the error message triggered by this policy rulepublic java.lang.String toString()
toString in class java.lang.Objectpublic static GraphPolicy parseRules(GraphPathBean graphPathBean, java.util.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.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.