Class DefaultCodestartProjectDefinition
- java.lang.Object
-
- io.quarkus.devtools.codestarts.core.DefaultCodestartProjectDefinition
-
- All Implemented Interfaces:
CodestartProjectDefinition
public final class DefaultCodestartProjectDefinition extends Object implements CodestartProjectDefinition
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenerate(Path targetDirectory)List<Codestart>getBaseCodestarts()Optional<Codestart>getCodestart(CodestartType type)Map<String,Object>getCodestartProjectData()List<Codestart>getCodestarts()Map<String,Object>getDepsData()List<Codestart>getExtraCodestarts()StringgetLanguageName()CodestartProjectInputgetProjectInput()CodestartgetRequiredCodestart(CodestartType type)Map<String,Object>getSharedData()static CodestartProjectDefinitionof(CodestartProjectInput projectInput, Collection<Codestart> codestarts)
-
-
-
Method Detail
-
of
public static CodestartProjectDefinition of(CodestartProjectInput projectInput, Collection<Codestart> codestarts)
-
generate
public void generate(Path targetDirectory) throws IOException
- Specified by:
generatein interfaceCodestartProjectDefinition- Throws:
IOException
-
getCodestarts
public List<Codestart> getCodestarts()
- Specified by:
getCodestartsin interfaceCodestartProjectDefinition
-
getProjectInput
public CodestartProjectInput getProjectInput()
- Specified by:
getProjectInputin interfaceCodestartProjectDefinition
-
getCodestart
public Optional<Codestart> getCodestart(CodestartType type)
- Specified by:
getCodestartin interfaceCodestartProjectDefinition
-
getRequiredCodestart
public Codestart getRequiredCodestart(CodestartType type)
- Specified by:
getRequiredCodestartin interfaceCodestartProjectDefinition
-
getLanguageName
public String getLanguageName()
- Specified by:
getLanguageNamein interfaceCodestartProjectDefinition
-
getSharedData
public Map<String,Object> getSharedData()
- Specified by:
getSharedDatain interfaceCodestartProjectDefinition
-
getDepsData
public Map<String,Object> getDepsData()
- Specified by:
getDepsDatain interfaceCodestartProjectDefinition
-
getCodestartProjectData
public Map<String,Object> getCodestartProjectData()
- Specified by:
getCodestartProjectDatain interfaceCodestartProjectDefinition
-
getBaseCodestarts
public List<Codestart> getBaseCodestarts()
- Specified by:
getBaseCodestartsin interfaceCodestartProjectDefinition
-
getExtraCodestarts
public List<Codestart> getExtraCodestarts()
- Specified by:
getExtraCodestartsin interfaceCodestartProjectDefinition
-
-