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

org.fugerit.java.doc.playground.init.ProjectInitInput Maven / Gradle / Ivy

There is a newer version: 8.8.9
Show newest version
package org.fugerit.java.doc.playground.init;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.Pattern;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

public class ProjectInitInput {

    @Pattern( regexp = "[A-Za-z0-9-\\.]+", flags = Pattern.Flag.DOTALL )
    @Getter @Setter private String groupId;

    @Pattern( regexp = "[A-Za-z0-9-]+", flags = Pattern.Flag.DOTALL )
    @Getter @Setter private String artifactId;

    @Pattern( regexp = "[A-Za-z0-9-\\.]+", flags = Pattern.Flag.DOTALL )
    @Getter @Setter private String projectVersion;

    @Min( 8 ) @Max( 21 )
    @Getter @Setter private Long javaVersion;

    @Pattern( regexp = "[A-Za-z0-9-\\.]+", flags = Pattern.Flag.DOTALL )
    @Getter @Setter private String venusVersion;

    @Pattern( regexp = "[A-Za-z0-9- ]+", flags = Pattern.Flag.DOTALL )
    @Getter @Setter private String flavour;

    @Pattern( regexp = "[A-Za-z0-9-\\.]+", flags = Pattern.Flag.DOTALL )
    @Getter @Setter private String flavourVersion;

    @Getter @Setter private List extensionList;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy