public interface Profile
Modifier and Type | Method and Description |
---|---|
Set<String> |
getBinaryExtensions() |
List<String> |
getBuildMergeProfileNames() |
List<String> |
getBuildPlugins() |
List<String> |
getBuildRepositories() |
io.micronaut.cli.profile.Command |
getCommand(io.micronaut.cli.profile.ProjectContext context,
String name)
Obtain a command by name.
|
Iterable<io.micronaut.cli.profile.Command> |
getCommands(io.micronaut.cli.profile.ProjectContext context)
The profile
Command instances. |
Iterable<jline.console.completer.Completer> |
getCompleters(io.micronaut.cli.profile.ProjectContext context)
The profile completers.
|
io.micronaut.cli.config.NavigableMap |
getConfiguration() |
Iterable<io.micronaut.cli.profile.Feature> |
getDefaultFeatures() |
List<org.eclipse.aether.graph.Dependency> |
getDependencies() |
String |
getDescription() |
Set<String> |
getExecutablePatterns() |
Iterable<Profile> |
getExtends()
|
Iterable<io.micronaut.cli.profile.Feature> |
getFeatures() |
String |
getInstructions() |
List<String> |
getJvmArgs() |
String |
getName() |
Iterable<io.micronaut.cli.profile.OneOfFeatureGroup> |
getOneOfFeatures() |
String |
getParentSkeletonDir() |
File |
getParentSkeletonDir(File parent) |
Resource |
getProfileDir() |
List<String> |
getRepositories() |
Iterable<io.micronaut.cli.profile.Feature> |
getRequiredFeatures() |
List<String> |
getSkeletonExcludes() |
Resource |
getTemplate(String path)
Obtain a template by path.
|
String |
getVersion() |
boolean |
handleCommand(io.micronaut.cli.profile.ExecutionContext context)
Obtains a
Command . |
boolean |
hasCommand(io.micronaut.cli.profile.ProjectContext context,
String name)
Whether a command executes for the given context and name.
|
boolean |
isAbstract() |
String getName()
String getVersion()
String getDescription()
Set<String> getBinaryExtensions()
Set<String> getExecutablePatterns()
String getInstructions()
Iterable<io.micronaut.cli.profile.Feature> getFeatures()
Iterable<io.micronaut.cli.profile.Feature> getDefaultFeatures()
Iterable<io.micronaut.cli.profile.OneOfFeatureGroup> getOneOfFeatures()
Iterable<io.micronaut.cli.profile.Feature> getRequiredFeatures()
Iterable<Profile> getExtends()
Profile
instance that this profile extends fromList<String> getRepositories()
List<org.eclipse.aether.graph.Dependency> getDependencies()
io.micronaut.cli.config.NavigableMap getConfiguration()
Resource getProfileDir()
Resource getTemplate(String path)
path
- The path to templateio.micronaut.cli.profile.Command getCommand(io.micronaut.cli.profile.ProjectContext context, String name)
context
- The ProjectContext
instancename
- Obtain a command by nameIterable<jline.console.completer.Completer> getCompleters(io.micronaut.cli.profile.ProjectContext context)
context
- The ProjectContext
instanceIterable
of Completer
instancesIterable<io.micronaut.cli.profile.Command> getCommands(io.micronaut.cli.profile.ProjectContext context)
Command
instances.context
- The ProjectContext
instanceIterable
of Command
instancesboolean hasCommand(io.micronaut.cli.profile.ProjectContext context, String name)
context
- The ProjectContext
name
- The command nameboolean handleCommand(io.micronaut.cli.profile.ExecutionContext context)
Command
.context
- The execution contextList<String> getBuildRepositories()
List<String> getBuildMergeProfileNames()
String getParentSkeletonDir()
File getParentSkeletonDir(File parent)
parent
- The parent folderList<String> getSkeletonExcludes()
boolean isAbstract()