Performs all actions that have been configured.
975931
public void performActions() {
		if (this.clientConfiguration.getActions().isEmpty()) {
			this.clientConfiguration.printHelp();
			return;
		}

		this.dumpProcessingController.setOfflineMode(this.clientConfiguration
				.getOfflineMode());

		if (this.clientConfiguration.getDumpDirectoryLocation() != null) {
			try {
				this.dumpProcessingController
						.setDownloadDirectory(this.clientConfiguration
								.getDumpDirectoryLocation());
			} catch (IOException e) {
				logger.error("Could not set download directory to "
						+ this.clientConfiguration.getDumpDirectoryLocation()
						+ ": " + e.getMessage());
				logger.error("Aborting");
				return;
			}
		}

		dumpProcessingController.setLanguageFilter(this.clientConfiguration
				.getFilterLanguages());
		dumpProcessingController.setSiteLinkFilter(this.clientConfiguration
				.getFilterSiteKeys());
		dumpProcessingController.setPropertyFilter(this.clientConfiguration
				.getFilterProperties());

		MwDumpFile dumpFile = this.clientConfiguration.getLocalDumpFile();

		if (dumpFile == null) {
			dumpFile = dumpProcessingController
					.getMostRecentDump(DumpContentType.JSON);
		} else {
			if (!dumpFile.isAvailable()) {
				logger.error("Dump file not found or not readable: "
						+ dumpFile.toString());
				return;
			}
		}

		this.clientConfiguration.setProjectName(dumpFile.getProjectName());
		this.clientConfiguration.setDateStamp(dumpFile.getDateStamp());

		boolean hasReadyProcessor = false;
		for (DumpProcessingAction props : this.clientConfiguration.getActions()) {

			if (!props.isReady()) {
				continue;
			}

			if (props.needsSites()) {
				prepareSites();
				if (this.sites == null) { // sites unavailable
					continue;
				}
				props.setSites(this.sites);
			}
			props.setDumpInformation(dumpFile.getProjectName(),
					dumpFile.getDateStamp());
			this.dumpProcessingController.registerEntityDocumentProcessor(
					props, null, true);
			hasReadyProcessor = true;
		}

		if (!hasReadyProcessor) {
			return; // silent; non-ready action should report its problem
					// directly
		}

		if (!this.clientConfiguration.isQuiet()) {
			EntityTimerProcessor entityTimerProcessor = new EntityTimerProcessor(
					0);
			this.dumpProcessingController.registerEntityDocumentProcessor(
					entityTimerProcessor, null, true);
		}
		openActions();
		this.dumpProcessingController.processDump(dumpFile);
		closeActions();

		try {
			writeReport();
		} catch (IOException e) {
			logger.error("Could not print report file: " + e.getMessage());
		}

	}
848622
public void execute() {
		if (condition == null) {
			throw new SystemException("Rule cannot be executed as it has no condition");
		}

		if (condition.isTrue()) {
			for (Action action : onTrue) {
				action.execute();
			}
		} else {
			for (Action action : onFalse) {
				action.execute();
			}
		}
	}
356933
public function execute(){
        $ext = self::buildComponent($this->getData());
        $report = $ext->check();            
        $this->setResult(self::buildResult($this->getData(), $report, $ext));
    }
160259
public function run() {
		$this->load_hooks();

		// Need to ensure these classes are activated here for hooks to fire.
		if ( $this->is_current_page( [ 'options.php', 'options-general.php', 'settings.php' ] ) ) {
			Singleton::get_instance( 'Install', $this )->run();
			Singleton::get_instance( 'Remote_Management', $this )->load_hooks();
		}
	}
623354
def process_actions(actions):
    """"""
    queue = current_app.config['INDEXER_MQ_QUEUE']
    with establish_connection() as c:
        q = queue(c)
        for action in actions:
            q = action(q)
751412
public function handle()
    {
        parent::handle();

        $requestGenerator = new RequestGenerator($this->commandData);
        $requestGenerator->generate();

        $this->performPostActions();
    }
924048
def invoke(self):
        
        args = self._get_args()
        self._action(*args)
        for callback in self._post_callbacks:
            callback()
217440
public function run()
    {
        if ($this->count()) {

            $request = server_request();

            foreach ($this->registry as $offset => $handler) {
                $this->process($request, $handler);
            }
        }
    }
1032010
protected function _execute()
    {
        if (!$this->enabled() && !$this->focused()) {
            return;
        }
        foreach ($this->_children as $child) {
            if ($this->suite()->failfast()) {
                break;
            }
            $this->_passed = $child->process() && $this->_passed;
        }
    }
501023
public function run() : void
    {
        $config = $this->getConfigToManipulate();
        $setup  = $this->getHookSetup();

        $setup->configureHooks($config);
        Config\Util::writeToDisk($config);

        $this->io->write(
            [
                '<info>Configuration created successfully</info>',
                'Run <comment>\'vendor/bin/captainhook install\'</comment> to activate your hook configuration',
            ]
        );
    }
137877
private function executeOnFiles(): void
    {
        foreach ($this->config->getFiles() as $source => $target) {
            try {
                $name = pathinfo($target)['filename'];
                $this->fileExecutor->invoke($source, $target, $name);
            } catch (Exception $exception) {
                $this->exceptionCatcher->catch($exception, $source);
            }
        }
    }
1035242
@Override
    protected void doPerform() {
        if (isSourceDocumentRoot()) {
            getActions().contextClick().perform();
        } else {
            getActions().contextClick(getFirstElement()).perform();
        }
    }
865479
@Override
	public void execute() {
		if (target instanceof WComponentGroup<?>) {
			for (WComponent component : ((WComponentGroup<WComponent>) target).getComponents()) {
				if (component instanceof SubordinateTarget) {
					applyAction((SubordinateTarget) component, value);
				}
			}
		} else {
			// Leaf.
			applyAction(target, value);
		}

	}
54016
def performAction(self, action):
        
        self._lastAction = []

        # Markups chosen for each generator.
        actions = self._allActions[action]

        n = self.numOffbids * len(self.generators)
        markups = actions[:n]
        withholds = actions[n:]

#        print "ALL ACTIONS:", self._allActions
#        print "ACTIONS:", markups, withholds

        self._offbid(markups, withholds)
416177
public function run() {

		foreach ( $this->filters as $hook ) {
			add_filter( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] );
		}

		foreach ( $this->actions as $hook ) {
			add_action( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] );
		}

	}
398572
def execute(self):
        
        self._state_machine.transition_to_execute()
        for action in self._actions:
            self._executed_actions.append(action)
            self.execute_with_retries(action, lambda a: a.execute())
        self._state_machine.transition_to_execute_complete()
1260031
public function handle()
    {
        parent::handle();

        $modelGenerator = new ModelGenerator($this->commandData);
        $modelGenerator->generate();

        $this->performPostActions();
    }