类org.gradle.api.tasks.options.Option源码实例Demo

下面列出了怎么用org.gradle.api.tasks.options.Option的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: smallrye-graphql   文件: GenerateSchemaTask.java
@Option(option = "include-transitive-dependencies", description = "Whether to include transitive dependencies to scan for GraphQL model classes.")
public void setIncludeTransitiveDependencies(boolean includeTransitiveDependencies) {
    this.includeTransitiveDependencies = includeTransitiveDependencies;
    if (includeTransitiveDependencies) {
        this.includeDependencies = true;
    }
}
 
@Option(option = "package", description = "Set principal package to use in the project")
public void setPackage(String packageName) {
    this.packageName = packageName;
}
 
@Option(option = "type", description = "Set project type")
public void setType(ProjectType type) {
    this.type = type;
}
 
@Option(option = "name", description = "Set project name, by default is cleanArchitecture ")
public void setName(String projectName) {
    this.name = projectName;
}
 
@Option(option = "coverage", description = "Set project coverage plugin")
public void setCoveragePlugin(CoveragePlugin coverage) {
    this.coverage = coverage;
}
 
@Option(option = "name", description = "Set UseCase name")
public void setName(String useCaseName) {
    this.name = useCaseName;
}
 
@Option(option = "name", description = "Set the model name")
public void setName(String modelName) {
    this.name = modelName;
}
 
源代码8 项目: reactor-core   文件: JmhExecTask.java
@Option(option = "verify", description = "run in verify mode")
public void setVerify(String verify) {
	this.verify = verify;
}
 
@Option(option = "name", description = "Set entry point name when GENERIC type")
public void setName(String name) {
    this.name = name;
}
 
@Option(option = "type", description = "Set type of driven adapter to be generated")
public void setType(DrivenAdapterType type) {
    this.type = type;
}
 
@Option(option = "name", description = "Set driven adapter name when GENERIC type")
public void setName(String name) {
    this.name = name;
}
 
@Option(option = "secret", description = "Enable secrets for this driven adapter")
public void setSecret(BooleanOption secret) {
    this.secret = secret;
}
 
@Option(option = "type", description = "Set type of pipeline to be generated")
public void setType(PipelineType type) {
    this.type = type;
}
 
@Option(option = "module", description = "Set module name to delete")
public void setModule(String module) {
    this.module = module;
}
 
源代码15 项目: smallrye-graphql   文件: GenerateSchemaTask.java
@Option(option = "destination", description = "The destination file where to output the schema. If no path is specified, the schema will be printed to the log.")
public void setDestination(String destination) {
    this.destination = destination;
}
 
源代码16 项目: smallrye-graphql   文件: GenerateSchemaTask.java
@Option(option = "no-destination", description = "Prints the schema to the log.")
public void setNoDestination(boolean destination) {
    this.destination = null;
}
 
源代码17 项目: smallrye-graphql   文件: GenerateSchemaTask.java
@Option(option = "include-dependencies", description = "Whether to scan project's dependencies for GraphQL model classes too. This is off by default, because it takes a relatively long time, so turn this on only if you know that part of your model is located inside dependencies.")
public void setIncludeDependencies(boolean includeDependencies) {
    this.includeDependencies = includeDependencies;
}
 
源代码18 项目: smallrye-graphql   文件: GenerateSchemaTask.java
@Option(option = "configuration", description = "Configuration to scan for GraphQL model classes (can be specified more than once).")
public void setConfigurations(List<String> configurations) {
    this.configurations = configurations;
}
 
源代码19 项目: smallrye-graphql   文件: GenerateSchemaTask.java
@Option(option = "dependency-extension", description = "Dependency extension to scan for GraphQL mode classes (can be specified more than once).")
public void setDependencyExtensions(List<String> dependencyExtensions) {
    this.dependencyExtensions = dependencyExtensions;
}
 
源代码20 项目: smallrye-graphql   文件: GenerateSchemaTask.java
@Option(option = "include-scalars", description = "Whether to include the scalars in the schema.")
public void setIncludeScalars(boolean includeScalars) {
    this.includeScalars = includeScalars;
}
 
源代码21 项目: smallrye-graphql   文件: GenerateSchemaTask.java
@Option(option = "include-directives", description = "Whether to include the directives in the schema.")
public void setIncludeDirectives(boolean includeDirectives) {
    this.includeDirectives = includeDirectives;
}
 
源代码22 项目: reactor-core   文件: JmhExecTask.java
@Option(option = "profilers", description = "configure jmh profiler(s) to use, comma separated")
public void setProfilers(String profilers) {
	this.profilers = profilers;
}
 
源代码23 项目: smallrye-graphql   文件: GenerateSchemaTask.java
@Option(option = "include-introspection-types", description = "Whether to include the introspection types in the schema.")
public void setIncludeIntrospectionTypes(boolean includeIntrospectionTypes) {
    this.includeIntrospectionTypes = includeIntrospectionTypes;
}
 
源代码24 项目: reactor-core   文件: JmhExecTask.java
@Option(option = "jvmArgs", description = "configure additional JMH JVM arguments, comma separated")
public void setJmhJvmArgs(String jvmArgs) {
	this.jmhJvmArgs = jvmArgs;
}
 
源代码25 项目: radiance   文件: IgniteDeepTask.java
@Option(option = "outputLanguage", description = "Configures the output language.")
public void setOutputLanguage(String outputLanguage) {
    this.outputLanguage = outputLanguage;
}
 
源代码26 项目: radiance   文件: IgniteDeepTask.java
@Option(option = "outputClassNamePrefix", description = "Configures the output class name prefix.")
public void setOutputClassNamePrefix(String outputClassNamePrefix) {
    this.outputClassNamePrefix = outputClassNamePrefix;
}
 
源代码27 项目: radiance   文件: IgniteDeepTask.java
@Option(option = "useResizableTemplate", description = "Configures the usage of resizable template.")
public void setUseResizableTemplate(boolean useResizableTemplate) {
    this.useResizableTemplate = useResizableTemplate;
}
 
源代码28 项目: radiance   文件: IgniteDeepTask.java
@Option(option = "inputRootDirectory", description = "Configures the input root directory.")
public void setInputRootDirectory(File inputRootDirectory) {
    this.inputRootDirectory = inputRootDirectory;
}
 
源代码29 项目: radiance   文件: IgniteDeepTask.java
@Option(option = "outputRootDirectory", description = "Configures the output root directory.")
public void setOutputRootDirectory(File outputRootDirectory) {
    this.outputRootDirectory = outputRootDirectory;
}
 
源代码30 项目: radiance   文件: IgniteTask.java
@Option(option = "outputPackageName", description = "Configures the output package name.")
public void setOutputPackageName(String outputPackageName) {
    this.outputPackageName = outputPackageName;
}
 
 类所在包
 类方法
 同包方法