Named.Namer| Constructor and Description |
|---|
ModelSource(String name,
SourceDirectorySet source,
TaskProvider<GenerateTask> generateTask) |
| Modifier and Type | Method and Description |
|---|---|
ConfigurableFileCollection |
getClasspath() |
DirectoryProperty |
getGenDir() |
TaskProvider<GenerateTask> |
getGenerateTask() |
ConfigurableFileCollection |
getModelpath() |
Property<String> |
getModule() |
String |
getName() |
MapProperty<String,Object> |
getOptions() |
SourceDirectorySet |
getSource() |
void |
option(String key)
Sets a boolean generator option to
true. |
void |
option(String key,
Object value)
Sets a generator option.
|
@Inject public ModelSource(String name, SourceDirectorySet source, TaskProvider<GenerateTask> generateTask)
public ConfigurableFileCollection getClasspath()
public SourceDirectorySet getSource()
public DirectoryProperty getGenDir()
public ConfigurableFileCollection getModelpath()
public MapProperty<String,Object> getOptions()
public void option(String key, Object value)
key - the name of the optionvalue - the new value for the optionpublic void option(String key)
true.key - the name of the optionpublic TaskProvider<GenerateTask> getGenerateTask()