@Option(option = "cvArgs", description = "Project directory path to generate report") public void setCvArgs(String cvArgs) { this.cvArgs = cvArgs; }
@Option(option = "key", description = "The credentials key.") @org.gradle.api.tasks.options.Option(option = "key", description = "The credentials key.") public void setKey(String key) { this.key = key; }
@Option(option = "outputType", description = "The output type of the configuration files. Either 'yaml' or 'json'.") public void setOutputType(String format) { JsonTools.INSTANCE.setOutputType(format); }
@Option(option = "handler", description = "Qualified name of nREPL handler function.") public void setHandler(String handler) { this.handler.set(handler); }
@Option(option = "key", description = "The credentials key.") @org.gradle.api.tasks.options.Option(option = "key", description = "The credentials key.") public void setKey(String key) { this.key = key; }
/** * @param structureOnly - indicates, that the generator UML4COO should be used for a UML model */ @Option(option = "structureOnly", description = "Indicates, that the generator UML4CPP should be used for a UML model.") public void setStructureOnlyAsOption(boolean structureOnly) { if (structureOnly) { setStructureOnly(structureOnly); } }
@Option(option = "middleware", description = "Qualified names of nREPL middleware functions.") public void setMiddleware(List<String> middleware) { if (middleware != null) { this.userMiddleware.set(middleware); } }
@Option(option = "fix", description = "Whether to apply the suggested fix to versions.props") public final void setShouldFix(boolean shouldFix) { this.shouldFix.set(shouldFix); }
@Option(option = "value", description = "The credentials value.") @org.gradle.api.tasks.options.Option(option = "value", description = "The credentials value.") public void setValue(String value) { this.value = value; }
@Option(option = "middleware", description = "Qualified names of nREPL middleware functions.") public void setMiddleware(List<String> middleware) { if (middleware != null) { this.userMiddleware.set(middleware); } }
@Option(option = "fix", description = "Whether to apply the suggested fix to versions.props") public final void setShouldFix(boolean shouldFix) { this.shouldFix.set(shouldFix); }
@Option(option = "handler", description = "Qualified name of nREPL handler function.") public void setHandler(String handler) { this.handler.set(handler); }
@Option(option = "fix", description = "Whether to apply the suggested fix to versions.props") public final void setShouldFix(boolean shouldFix) { this.shouldFix.set(shouldFix); }
/** * @param modelFilePath - model path */ @Option(option = "model", description = "Configure the path to the model used by generator.") public void setModelFilePath(String modelFilePath) { File file = new File(modelFilePath); if (file.exists()) { setModelFilePath(file); } }
@Option(option = "port", description = "Port the nREPL server should listen on.") public void setPort(String port) { setPort(Integer.parseInt(port)); }
@Option(option = "port", description = "Port the nREPL server should listen on.") public void setPort(String port) { setPort(Integer.parseInt(port)); }
/** * The target image can be overridden with the {@code --image} command line option. * * @param targetImage the name of the 'to' image. */ @Option(option = "image", description = "The image reference for the target image") public void setTargetImage(String targetImage) { Preconditions.checkNotNull(jibExtension).getTo().setImage(targetImage); }
/** * The target image can be overridden with the {@code --image} command line option. * * @param targetImage the name of the 'to' image. */ @Option(option = "image", description = "The image reference for the target image") public void setTargetImage(String targetImage) { Preconditions.checkNotNull(jibExtension).getTo().setImage(targetImage); }
/** * The target image can be overridden with the {@code --image} command line option. * * @param targetImage the name of the 'to' image. */ @Option(option = "image", description = "The image reference for the target image") public void setTargetImage(String targetImage) { Preconditions.checkNotNull(jibExtension).getTo().setImage(targetImage); }
@Option(option = "configuration", description = "The configuration to generate the report for.") public void setConfiguration(String configurationName) { this.configurations = Collections.singleton(getProject().getConfigurations().getByName(configurationName)); }