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

io.mosip.preregistration.batchjob.audit.BatchjobConfig Maven / Gradle / Ivy

There is a newer version: 1.3.0-beta.1
Show newest version

/* 
 * Copyright
 * 
 */
package io.mosip.preregistration.batchjob.audit;

import java.util.Collections;
import java.util.Map;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * This class is used for Swagger configuration, also to configure Host and
 * Port.
 * 
 * @author Kishan Rathore
 * @author Jagadishwari
 * @author Ravi C. Balaji
 * @since 1.0.0
 *
 */
@Configuration
@EnableSwagger2
@ConfigurationProperties("mosip.preregistration.batchjob")
public class BatchjobConfig {
	
	/** The id. */
	private Map id;
	
	/**
	 * Sets the id.
	 *
	 * @param id the id
	 */
	public void setId(Map id) {
		this.id = id;
	}
	

	/**
	 * Id.
	 *
	 * @return the map
	 */
	@Bean
	public Map ic() {
		return Collections.unmodifiableMap(id);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy