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

pro.fessional.wings.tiny.grow.spring.prop.TinyTrackOmitProp Maven / Gradle / Ivy

The newest version!
package pro.fessional.wings.tiny.grow.spring.prop;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Collections;
import java.util.Map;
import java.util.regex.Pattern;

import static pro.fessional.wings.tiny.grow.spring.prop.TinyTrackOmitProp.Key;

/**
 * @author trydofor
 * @since 2024-07-27
 */
@Data
@ConfigurationProperties(Key)
public class TinyTrackOmitProp {

    public static final String Key = "wings.tiny.grow.track.omit";

    /**
     * omit the property if it is instance of. empty means disable
     *
     * @see #Key$clazz
     */
    private Map> clazz = Collections.emptyMap();
    public static final String Key$clazz = Key + ".clazz";

    /**
     * omit the property if its name equals. empty means disable
     *
     * @see #Key$equal
     */
    private Map equal = Collections.emptyMap();
    public static final String Key$equal = Key + ".equal";

    /**
     * omit the property if its name match regex. empty means disable
     *
     * @see #Key$regex
     */
    private Map regex = Collections.emptyMap();
    public static final String Key$regex = Key + ".regex";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy