pro.fessional.wings.tiny.grow.spring.prop.TinyTrackOmitProp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tiny-grow Show documentation
Show all versions of tiny-grow Show documentation
Tiny data tracking, growth analysis
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";
}