com.nearform.patrun
Interface Customiser


public interface Customiser

Interface to be implemented if you need to customise the add / find or remove behaviour of a Patrun object


Method Summary
 Modifier add(Patrun p, Map<String,String> pat, Object data)
          Called when a node is added to the decision tree
 

Method Detail

add

Modifier add(Patrun p,
             Map<String,String> pat,
             Object data)
Called when a node is added to the decision tree

Parameters:
p - the instance of the Patrun object
pat - the match pattern that was provided in the call to add on Patrun
data - the data object to be stored
Returns:
the custom modifier to be called for find / remove methods or null if no custom modifier required


Copyright © 2015. All rights reserved.