public abstract class CreateCommand extends BaseCommand implements java.util.concurrent.Callable<java.lang.Integer>
| Modifier and Type | Field and Description |
|---|---|
protected AvailableFeatures |
availableFeatures |
commonOptions, specNOOP| Constructor and Description |
|---|
CreateCommand(AvailableFeatures availableFeatures,
ContextFactory contextFactory,
ApplicationType applicationType,
ProjectGenerator projectGenerator) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
call() |
void |
generate(OutputHandler outputHandler) |
void |
generate(Project project,
OutputHandler outputHandler) |
protected java.util.Map<java.lang.String,java.lang.Object> |
getAdditionalOptions() |
protected abstract java.util.List<java.lang.String> |
getSelectedFeatures() |
err, getOperatingSystem, green, out, red, showStacktrace, verbose, warningprotected final AvailableFeatures availableFeatures
public CreateCommand(AvailableFeatures availableFeatures, ContextFactory contextFactory, ApplicationType applicationType, ProjectGenerator projectGenerator)
@NonNull protected abstract java.util.List<java.lang.String> getSelectedFeatures()
protected java.util.Map<java.lang.String,java.lang.Object> getAdditionalOptions()
public java.lang.Integer call()
throws java.lang.Exception
call in interface java.util.concurrent.Callable<java.lang.Integer>java.lang.Exceptionpublic void generate(OutputHandler outputHandler) throws java.lang.Exception
java.lang.Exceptionpublic void generate(Project project, OutputHandler outputHandler) throws java.lang.Exception
java.lang.Exception