![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework-bulk/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Bulk; /** * Interface BulkSummaryInterface * @api * @since 103.0.0 */ interface BulkSummaryInterface { /**#@+ * Constants for keys of data array. Identical to the name of the getter in snake case */ const BULK_ID = 'uuid'; const DESCRIPTION = 'description'; const START_TIME = 'start_time'; const USER_ID = 'user_id'; const OPERATION_COUNT = 'operation_count'; /**#@-*/ /**#@+ * Bulk statuses constants */ const NOT_STARTED = 0; const IN_PROGRESS = 1; const FINISHED_SUCCESSFULLY = 2; const FINISHED_WITH_FAILURE = 3; /**#@-*/ /** * Get bulk uuid * * @return string * @since 103.0.0 */ public function getBulkId(); /** * Set bulk uuid * * @param string $bulkUuid * @return $this * @since 103.0.0 */ public function setBulkId($bulkUuid); /** * Get bulk description * * @return string * @since 103.0.0 */ public function getDescription(); /** * Set bulk description * * @param string $description * @return $this * @since 103.0.0 */ public function setDescription($description); /** * Get bulk scheduled time * * @return string * @since 103.0.0 */ public function getStartTime(); /** * Set bulk scheduled time * * @param string $timestamp * @return $this * @since 103.0.0 */ public function setStartTime($timestamp); /** * Get user id * * @return int * @since 103.0.0 */ public function getUserId(); /** * Set user id * * @param int $userId * @return $this * @since 103.0.0 */ public function setUserId($userId); /** * Get total number of operations scheduled in scope of this bulk * * @return int * @since 103.0.0 */ public function getOperationCount(); /** * Set total number of operations scheduled in scope of this bulk * * @param int $operationCount * @return $this * @since 103.0.0 */ public function setOperationCount($operationCount); }