Add all the data from the given {@link JobDataMap} to the
{@code JobDetail}'s {@code JobDataMap}.

@param string $dataKey
@param mixed  $value

@return JobBuilder

@see JobDetail#getJobDataMap()
960355
public function usingJobData($dataKey, $value)
    {
        if (false == is_string($dataKey)) {
            throw new \InvalidArgumentException('dataKey must be a string');
        }

        if (false == is_scalar($value) || false == is_array($value)) {
            throw new \InvalidArgumentException('value must be an array or scalar');
        }

        $this->jobDataMap[$dataKey] = $value;

        return $this;
    }
568315
public static function addData($data, $key = NULL)
    {
        $currentPointer = end(self::$currentPointerStack);
        if (!isset(self::$stackLog[$currentPointer]['messages'])) {
            self::$stackLog[$currentPointer]['messages'] = array();
        }
        if (is_null($key)) {
            self::$stackLog[$currentPointer]['messages'][] = $data;
        } else {
            self::$stackLog[$currentPointer]['messages'][$key] = $data;
        }
    }
501105
public function setData($value) : Job
    {
        $this->validateJson($value);

        if ($this->data['data'] !== $value) {
            $this->data['data'] = $value;
            $this->setModified('data');
        }

        return $this;
    }
378287
public function append($key, $value)
	{
		if (!$this->has($key, $value))
		{
			$this->data[$key] = $this->close($value);
		}

		return $this;
	}
1357721
@Override
  public JobDetail retrieveJob(String jobKey) {

    synchronized (lock) {
      JobWrapper jw = jobsByKey.get(jobKey);
      return (jw != null) ? (JobDetail) jw.jobDetail.clone() : null;
    }
  }
806252
public function setData($key, $value=null)
	{
	    $this->data->set($key, $value);
	    return $this;
	}
633827
public function SetData($Key, $Value = NULL, $AddProperty = FALSE) {
      if (is_array($Key)) {
         $this->Data = array_merge($this->Data, $Key);

         if ($AddProperty === TRUE) {
            foreach ($Key as $Name => $Value) {
               $this->$Name = $Value;
            }
         }
         return;
      }

      $this->Data[$Key] = $Value;
      if($AddProperty === TRUE) {
         $this->$Key = $Value;
      }
      return $Value;
   }
1252770
public function add($key, $value)
    {
        $connection = $this->getConnection($key);
        $this->writeToRemote(array(
            'cmd' => 'add',
            'key' => $key,
            'value' => $value,
        ), $connection);
        return $this->readFromRemote($connection);
    }
488761
public function addData($key, $value)
    {
        if (!is_string($key) && !is_int($key)) {
            throw new \InvalidArgumentException('Data keys must be of type "string" or "integer".');
        }

        $data = $this->getData();

        $data[$key] = $value;

        return $this->setData($data);
    }
121264
public function setStartOn($value)
    {
        if (!is_int($value)) {
            throw new JobException('Job setStartOn can sets only integer type!');
        }

        return $this->setData(self::P_START_ON, $value);
    }
388446
public function setData($key, $value){

        $key = $this->normalizeKeyName($key);

        if( isset($this->_data[$key]) ){
            if( $this->_data[$key] !== $value ){
                $this->_original[$key] = $this->_data[$key];
                $this->_changes[$key] = $value;
            }
        }else{
            $this->_changes[$key] = $value;
        }

        $this->_data[$key] = $value;

        return $this;
    }
967394
public function where($key,$value)
    {
        $dstore= new DataStore;
        $dstore->meta($this->metaData);
        foreach ($this->rows as $row) {
            if ($row[$key]==$value) {
                $dstore->append($row);
            }
        }
        return $dstore;
    }
885810
public function set($data, $value = null): SessionInterface
    {
        if (is_array($data)) {
            $newData = [];
            foreach ($data as $key => $val) {
                $key = $this->getNamespacedKey($key);
                $newData[$key] = $val;
            }
            $data = $newData;
        } else {
            $data = $this->getNamespacedKey($data);
        }

        $this->session->set($data, $value);

        return $this;
    }
505276
public function injectDataMapper(DataMapper $dataMapper)
    {
        $this->dataMapper = $dataMapper;
        $this->dataMapper->setPersistenceManager($this);
    }
1030158
public function addData($key, $value) {
    if (!isset($this->data)) $this->data = array();
    $this->data[$key] = $value;
    return $this;
  }
63339
public function getDataMapper()
    {
        if (!$this->mapper) {
            $this->mapper = new DataMapper($this->table, $this->keys);
        }

        return $this->mapper;
    }
622608
protected function addDataByScenario($value, $key) {
        switch ($this->scenario) {
            case static::SCENARIO_OVERWRITE:
                $this->shared[$key] = $value;
                break;
            case static::SCENARIO_WRITE_ONCE:
                if (!isset($this->shared[$key])) {
                    $this->shared[$key] = $value;
                }
                break;
            case static::SCENARIO_MERGE:
                $this->mergeDataEntry($value, $key);
                break;
        }
        return $this;
    }