symfony-doge/veslo

View on GitHub
src/AppBundle/Enum/Workflow/Vacancy/Research/Transition.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/*
 * This file is part of the Veslo project <https://github.com/symfony-doge/veslo>.
 *
 * (C) 2019 Pavel Petrov <itnelo@gmail.com>.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0
 */

declare(strict_types=1);

namespace Veslo\AppBundle\Enum\Workflow\Vacancy\Research;

/**
 * Dictionary of transitions for workflow
 */
final class Transition
{
    /**
     * From found to parsed state, vacancy data will be retrieved from website using URL
     *
     * @const string
     */
    public const TO_PARSE = 'to_parse';

    /**
     * From parsed to collect state, vacancy data will be synchronized with current schema and stored for analysis
     *
     * @const string
     */
    public const TO_COLLECT = 'to_collect';

    /**
     * From collected to indexed state, vacancy will be analysed via sanity criteria and get its rating
     *
     * @const string
     */
    public const TO_INDEX = 'to_index';
}