public void init(Processor processor){
  if (action.getPredicate() != null) {
    try {
      predicate=ExpressionHandlerFactory.getHandler(action.getPredicate());
      predicate.init(processor,getAction(),true);
      if (!isUsesHeaders()) {
        setUsesHeaders(predicate.isUsesHeaders());
      }
      if (!isUsesContent()) {
        setUsesContent(predicate.isUsesContent());
      }
    }
 catch (    Throwable t) {
      if (log.isLoggable(Level.FINE)) {
        log.log(Level.FINE,"Failed to initialise predicate for action '" + action + "'",t);
      }
      ProcessorIssue pi=new ProcessorIssue();
      pi.setProcessor(processor.getDescription());
      pi.setAction(action.getDescription());
      pi.setSeverity(Severity.Error);
      pi.setDescription(t.getMessage());
      if (issues == null) {
        issues=new ArrayList<Issue>();
      }
      issues.add(pi);
    }
  }
}

public void init ( Processor processor ) { if ( action . getPredicate ( ) != null ) { try { predicate = ExpressionHandlerFactory . getHandler ( action . getPredicate ( ) ) ; predicate . init ( processor , getAction ( ) , true ) ; if ( ! isUsesHeaders ( ) ) { setUsesHeaders ( predicate . isUsesHeaders ( ) ) ; } if ( ! isUsesContent ( ) ) { setUsesContent ( predicate . isUsesContent ( ) ) ; } } catch ( Throwable t ) { if ( log . isLoggable ( Level . FINE ) ) { log . log ( Level . FINE , "Failed to initialise predicate for action '" + action + "'" , t ) ; } ProcessorIssue pi = new ProcessorIssue ( ) ; pi . setProcessor ( processor . getDescription ( ) ) ; pi . setAction ( action . getDescription ( ) ) ; pi . setSeverity ( Severity . Error ) ; pi . setDescription ( t . getMessage ( ) ) ; if ( issues == null ) { issues = new ArrayList < Issue > ( ) ; } issues . add ( pi ) ; } } }
this method initialises the process action handler .
