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

io.polaris.builder.code.config.CodeTemplate Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package io.polaris.builder.code.config;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @author Qt
 */
@Data
@XStreamAlias("template")
@NoArgsConstructor
public class CodeTemplate {
	/** 模板路径*/
	@XStreamAlias("path")
	private String path;
	/** 输出目录路径*/
	@XStreamAlias("dirname")
	private String dirname;
	/** 输出文件名*/
	@XStreamAlias("filename")
	private String filename;
	/** 模板扩展属性*/
	@XStreamAlias("property")
	@XStreamConverter(ConfigParser.PropertyConverter.class)
	private Map property;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy