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

cn.lzgabel.converter.bean.gateway.GatewayDefinition Maven / Gradle / Ivy

The newest version!
package cn.lzgabel.converter.bean.gateway;

import cn.lzgabel.converter.bean.BaseDefinition;
import com.google.common.collect.Lists;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 〈功能简述〉
* 〈网关数据定义〉 * * @author lizhi * @since 1.0.0 */ @Data @SuperBuilder @NoArgsConstructor public abstract class GatewayDefinition extends BaseDefinition { /** 分支节点 */ private List branchNodes; public abstract static class GatewayDefinitionBuilder< C extends GatewayDefinition, B extends GatewayDefinition.GatewayDefinitionBuilder> extends BaseDefinitionBuilder { public GatewayDefinitionBuilder() { branchNodes = Lists.newArrayList(); } public B branchNode(BranchNode branchNode) { branchNodes.add(branchNode); return self(); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy