Submit
Path:
~
/
/
proc
/
self
/
root
/
opt
/
psa
/
admin
/
plib
/
modules
/
wp-toolkit
/
vendor
/
plesk
/
background-tasks
/
src
/
Model
/
File Content:
TaskExecutionOptions.php
<?php // Copyright 1999-2024. WebPros International GmbH. All rights reserved. namespace BackgroundTasks\Model; class TaskExecutionOptions { /** * @var int */ private $poolSize; /** * @var bool */ private $isProgressTrackable; /** * @var bool */ private $isHidden; /** * @var bool */ private $isTaskProgressControlledManually; /** * @var string[] */ private $concurrencyRules; public function __construct() { $this->isHidden = \false; $this->poolSize = -1; $this->isProgressTrackable = \true; $this->isTaskProgressControlledManually = \false; $this->concurrencyRules = []; } /** * @return bool */ public function getIsHidden() { return $this->isHidden; } /** * @param bool $isHidden * @return $this */ public function setIsHidden($isHidden) { $this->isHidden = $isHidden; return $this; } /** * @return bool */ public function getIsProgressTrackable() { return $this->isProgressTrackable; } /** * @param bool $isProgressTrackable * @return $this */ public function setIsProgressTrackable($isProgressTrackable) { $this->isProgressTrackable = $isProgressTrackable; return $this; } /** * @return int */ public function getPoolSize() { return $this->poolSize; } /** * @param int $poolSize * @return $this */ public function setPoolSize($poolSize) { $this->poolSize = $poolSize; return $this; } /** * @return bool */ public function isTaskProgressControlledManually() { return $this->isTaskProgressControlledManually; } /** * @param bool $isTaskProgressControlledManually * @return TaskExecutionOptions */ public function setIsTaskProgressControlledManually($isTaskProgressControlledManually) { $this->isTaskProgressControlledManually = $isTaskProgressControlledManually; return $this; } /** * @return string[] */ public function getConcurrencyRules() : array { return $this->concurrencyRules; } /** * @param string[] $concurrencyRules * @return $this */ public function setConcurrencyRules(array $concurrencyRules) : self { $this->concurrencyRules = $concurrencyRules; return $this; } }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
BackgroundTasksCollection.php
1408 bytes
0644
BackgroundTasksCollectionInterface.php
562 bytes
0644
SynchronousTaskExecutionResult.php
540 bytes
0644
TaskExecutionOptions.php
2531 bytes
0644
N4ST4R_ID | Naxtarrr