public final class DefaultCodestartProjectDefinition extends Object implements CodestartProjectDefinition
| Modifier and Type | Method and Description |
|---|---|
void |
generate(Path targetDirectory) |
List<Codestart> |
getBaseCodestarts() |
Optional<Codestart> |
getCodestart(CodestartType type) |
Map<String,Object> |
getCodestartProjectData() |
List<Codestart> |
getCodestarts() |
Map<String,Object> |
getDepsData() |
List<Codestart> |
getExtraCodestarts() |
String |
getLanguageName() |
CodestartProjectInput |
getProjectInput() |
Codestart |
getRequiredCodestart(CodestartType type) |
Map<String,Object> |
getSharedData() |
static CodestartProjectDefinition |
of(CodestartProjectInput projectInput,
Collection<Codestart> codestarts) |
public static CodestartProjectDefinition of(CodestartProjectInput projectInput, Collection<Codestart> codestarts)
public void generate(Path targetDirectory) throws IOException
generate in interface CodestartProjectDefinitionIOExceptionpublic List<Codestart> getCodestarts()
getCodestarts in interface CodestartProjectDefinitionpublic CodestartProjectInput getProjectInput()
getProjectInput in interface CodestartProjectDefinitionpublic Optional<Codestart> getCodestart(CodestartType type)
getCodestart in interface CodestartProjectDefinitionpublic Codestart getRequiredCodestart(CodestartType type)
getRequiredCodestart in interface CodestartProjectDefinitionpublic String getLanguageName()
getLanguageName in interface CodestartProjectDefinitionpublic Map<String,Object> getSharedData()
getSharedData in interface CodestartProjectDefinitionpublic Map<String,Object> getDepsData()
getDepsData in interface CodestartProjectDefinitionpublic Map<String,Object> getCodestartProjectData()
getCodestartProjectData in interface CodestartProjectDefinitionpublic List<Codestart> getBaseCodestarts()
getBaseCodestarts in interface CodestartProjectDefinitionpublic List<Codestart> getExtraCodestarts()
getExtraCodestarts in interface CodestartProjectDefinitionCopyright © 2021 JBoss by Red Hat. All rights reserved.