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

com.atlan.generators.SerdeGenerator Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
// Generated by delombok at Thu Oct 10 18:56:33 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
   Copyright 2023 Atlan Pte. Ltd. */
package com.atlan.generators;

import java.io.File;
import java.util.*;

public class SerdeGenerator {
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(SerdeGenerator.class);
    public static final String DIRECTORY = "src" + File.separator + "main" + File.separator + "java" + File.separator + "com" + File.separator + "atlan" + File.separator + "serde";
    private final SortedSet assetTypes;
    private final String generatorName;

    public SerdeGenerator(Collection assetCache, GeneratorConfig cfg) {
        this.generatorName = cfg.getGeneratorName();
        assetTypes = new TreeSet<>();
        for (AssetGenerator generator : assetCache) {
            if (!generator.isAbstract() && cfg.includeTypedef(generator.getEntityDef())) {
                assetTypes.add(generator.getClassName());
            }
        }
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public SortedSet getAssetTypes() {
        return this.assetTypes;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getGeneratorName() {
        return this.generatorName;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy