All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dell.cpsd.rcm.evaluation.client.RcmEvaluationConfiguration Maven / Gradle / Ivy

Go to download

This repository contains the source code for the rcm evaluation service API. Use this repository to share contracts between services so you can create POJOs using defined JSON schemas and to create message transformers for the RCM evaluation service.

The newest version!
/**
 * Copyright © 2017 Dell Inc. or its subsidiaries.  All Rights Reserved.
 * Dell EMC Confidential/Proprietary Information
 */

package com.dell.cpsd.rcm.evaluation.client;

import com.dell.cpsd.rcm.evaluation.client.amqp.consumer.IAmqpRcmEvaluationConsumer;
import com.dell.cpsd.rcm.evaluation.client.amqp.producer.IAmqpRcmEvaluationProducer;

/**
 * This is the configuration for the service client.
 *
 * 

* Copyright © 2017 Dell Inc. or its subsidiaries. All Rights Reserved. * Dell EMC Confidential/Proprietary Information *

* * @version 1.0 * * @since SINCE-TBD */ public class RcmEvaluationConfiguration implements IRcmEvaluationConfiguration { /* * The IAmqpRcmEvaluationConsumer to use. */ private IAmqpRcmEvaluationConsumer rcmEvaluationConsumer = null; /* * The IAmqpRcmEvaluationProducer to use. */ private IAmqpRcmEvaluationProducer rcmEvaluationProducer = null; /** * RcmEvaluationConfiguration constructor. * * @param rcmEvaluationConsumer The RCM evaluation consumer. * @param rcmEvaluationProducer The RCM evaluation producer. * * @throws IllegalArgumentException Thrown if the arguments are null. * * @since 1.0 */ public RcmEvaluationConfiguration( final IAmqpRcmEvaluationConsumer rcmEvaluationConsumer, final IAmqpRcmEvaluationProducer rcmEvaluationProducer) { super(); this.setRcmEvaluationConsumer(rcmEvaluationConsumer); this.setRcmEvaluationProducer(rcmEvaluationProducer); } /** * {@inheritDoc} */ @Override public IAmqpRcmEvaluationConsumer getRcmEvaluationConsumer() { return this.rcmEvaluationConsumer; } /** * This sets the IAmqpRcmEvaluationConsumer implementation to * to use. * * @param rcmEvaluationConsumer The RCM evaluation consumer to use. * * @thrown IllegalArgumentException Thrown if the consumer is null. * * @since 1.0 */ protected void setRcmEvaluationConsumer(final IAmqpRcmEvaluationConsumer rcmEvaluationConsumer) { if (rcmEvaluationConsumer == null) { throw new IllegalArgumentException("The RCM evaluation consumer is null"); } this.rcmEvaluationConsumer = rcmEvaluationConsumer; } /** * {@inheritDoc} */ @Override public IAmqpRcmEvaluationProducer getRcmEvaluationProducer() { return this.rcmEvaluationProducer; } /** * This sets the IAmqpRcmEvaluationProducer implementation to * to use. * * @param rcmEvaluationProducer The RCM evaluation producer to use. * * @thrown IllegalArgumentException Thrown if the producer is null. * * @since 1.0 */ protected void setRcmEvaluationProducer(final IAmqpRcmEvaluationProducer rcmEvaluationProducer) { if (rcmEvaluationProducer == null) { throw new IllegalArgumentException("The RCM evaluation producer is null"); } this.rcmEvaluationProducer = rcmEvaluationProducer; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy