ProjectGenerationResponse Class — spring-boot Architecture
Architecture documentation for the ProjectGenerationResponse class in ProjectGenerationResponse.java from the spring-boot codebase.
Entity Profile
Source Code
cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerationResponse.java lines 27–72
class ProjectGenerationResponse {
private final ContentType contentType;
private byte @Nullable [] content;
private @Nullable String fileName;
ProjectGenerationResponse(ContentType contentType) {
this.contentType = contentType;
}
/**
* Return the {@link ContentType} of this instance.
* @return the content type
*/
ContentType getContentType() {
return this.contentType;
}
/**
* The generated project archive or file.
* @return the content
*/
byte @Nullable [] getContent() {
return this.content;
}
void setContent(byte @Nullable [] content) {
this.content = content;
}
/**
* The preferred file name to use to store the entity on disk or {@code null} if no
* preferred value has been set.
* @return the file name, or {@code null}
*/
@Nullable String getFileName() {
return this.fileName;
}
void setFileName(@Nullable String fileName) {
this.fileName = fileName;
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free