def process(self, context):
     processes = context.application.getProcesses()
     process_names = [
         process.getName().lower().strip() for process in processes
         if process
     ]
     if not filter(
             None, map(lambda x: x in self.stopper_processes,
                       process_names)):
         raise IgnoreApplicationException()
     ShellCmdBasedPlugin.process(self, context)
 def process(self, context):
     ShellCmdBasedPlugin.process(self, context)
     core_id = self._get_core_id(context)
     if core_id:
         appOsh = context.application.getOsh()
         appOsh.setStringAttribute('name', core_id)
 def process(self, context):
     ShellCmdBasedPlugin.process(self, context)
     core_id = self._get_core_id(context)
     if core_id:
         appOsh = context.application.getOsh()
         appOsh.setStringAttribute('name', core_id)
 def process(self, context):
     processes = context.application.getProcesses()
     process_names = [process.getName().lower().strip() for process in processes if process]
     if not filter(None, map(lambda x: x in self.stopper_processes, process_names)):
         raise IgnoreApplicationException()
     ShellCmdBasedPlugin.process(self, context)