/****************************************************************************
* Copyright Avaya Inc., All Rights Reserved.
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Avaya Inc.
* The copyright notice above does not evidence any actual or intended publication of such source code.
* Some third-party source code components may have been modified from their original versions by Avaya Inc.
* The modifications are Copyright Avaya Inc., All Rights Reserved.
* Avaya Confidential & Restricted. May not be distributed further without written permission of
* the Avaya owner.
****************************************************************************/
package com.avaya.zephyr.services.sample_services.Authorization.TaskRepository.validator;

public enum ValidatorProvider
{
    UPDATE_REQUEST_VALIDATOR(new UpdateRequestValidator()),
    DELETE_REQUEST_VALIDATOR(new DeleteRequestValidator()),
    CREATE_REQUEST_VALIDATOR(new CreateRequestValidator());
    private final RequestValidator requestValidator;

    private ValidatorProvider(final RequestValidator requestValidator)
    {
        this.requestValidator = requestValidator;
    }

    public RequestValidator getValidator()
    {
        return requestValidator;
    }
}
