com.github.balintrudas.commentparser.configuration.ExportConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commentparser Show documentation
Show all versions of commentparser Show documentation
Comment Parser is a Java library that can be used to extract comments from a source code.
The newest version!
package com.github.balintrudas.commentparser.configuration;
import com.github.balintrudas.commentparser.export.ExportType;
import lombok.*;
import java.text.SimpleDateFormat;
import java.util.Date;
@Getter
@Setter
@Builder(toBuilder = true)
@NoArgsConstructor
@AllArgsConstructor
public class ExportConfiguration {
@NonNull
private ExportType exportType = ExportType.ASCIIDOC;
@NonNull
private String saveDirectory = System.getProperty("user.home");
@NonNull
private Boolean enableGroups = true;
@NonNull
private Boolean enableDescription = true;
@NonNull
private Boolean enablePath = true;
@NonNull
private String fileName = new SimpleDateFormat("'comment_export_'yyyyMMddHHmm").format(new Date());
@NonNull
private String commentLabel = "Comment";
@NonNull
private String pathLabel = "Path";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy