protected void processResult(final Operation operation,final Object result,final Command commandObj) throws BaseCollectionException {
  Processor _processor=null;
  _processor=operation.getProcessor();
  if (null != _processor) {
    List<Object> argsList=new ArrayList<Object>();
    argsList.add(Util.normalizedReadArgs(_keyMap,commandObj.retreiveArguments()));
    argsList.add(commandObj.getCommandIndex());
    _processor.setPrerequisiteObjects(argsList);
    _processor.processResult(operation,result,_keyMap);
  }
 else {
    _LOGGER.debug("No Processors found to execute. ");
  }
}

protected void processResult ( final Operation operation , final Object result , final Command commandObj ) throws BaseCollectionException { Processor _processor = null ; _processor = operation . getProcessor ( ) ; if ( null != _processor ) { List < Object > argsList = new ArrayList < Object > ( ) ; argsList . add ( Util . normalizedReadArgs ( _keyMap , commandObj . retreiveArguments ( ) ) ) ; argsList . add ( commandObj . getCommandIndex ( ) ) ; _processor . setPrerequisiteObjects ( argsList ) ; _processor . processResult ( operation , result , _keyMap ) ; } else { _LOGGER . debug ( "No Processors found to execute. " ) ; } }
move the result to processor . processor can be of type cimprocessor , directormetrics apply different types of decorators above the processed result multiple decorators can be applied on the processed result . multiple processors can be applied on the result got from executor .
