<?php

namespace patest\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

/**
 * This class stands for ProcessControlAction EnumType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:ProcessControlAction
 * @subpackage Enumerations
 */
class ProcessControlAction extends AbstractStructEnumBase
{
    /**
     * Constant for value 'Restart'
     * @return string 'Restart'
     */
    const VALUE_RESTART = 'Restart';
    /**
     * Constant for value 'Stop'
     * @return string 'Stop'
     */
    const VALUE_STOP = 'Stop';
    /**
     * Constant for value 'ForceRun'
     * @return string 'ForceRun'
     */
    const VALUE_FORCE_RUN = 'ForceRun';
    /**
     * Constant for value 'AttachToRunningProcess'
     * @return string 'AttachToRunningProcess'
     */
    const VALUE_ATTACH_TO_RUNNING_PROCESS = 'AttachToRunningProcess';
    /**
     * Constant for value 'AbortRun'
     * @return string 'AbortRun'
     */
    const VALUE_ABORT_RUN = 'AbortRun';
    /**
     * Return allowed values
     * @uses self::VALUE_RESTART
     * @uses self::VALUE_STOP
     * @uses self::VALUE_FORCE_RUN
     * @uses self::VALUE_ATTACH_TO_RUNNING_PROCESS
     * @uses self::VALUE_ABORT_RUN
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_RESTART,
            self::VALUE_STOP,
            self::VALUE_FORCE_RUN,
            self::VALUE_ATTACH_TO_RUNNING_PROCESS,
            self::VALUE_ABORT_RUN,
        );
    }
}
