public interface GradleModel
GradleFacet,
GradleModelBuilder| Modifier and Type | Method and Description |
|---|---|
String |
getArchiveName()
Returns output archive name of the project.
|
String |
getArchivePath()
Returns path to the output archive.
|
List<GradleDependency> |
getDependencies()
Returns list of dependencies parsed from the project.
|
List<GradleDependency> |
getEffectiveDependencies()
Returns list of dependencies evaluated from the project.
|
List<GradleDependency> |
getEffectiveManagedDependencies()
Returns list of managed dependencies evaluated from the project.
|
List<GradlePlugin> |
getEffectivePlugins()
Returns list of effective plugins applied to the project by apply plugin: 'name'.
|
Map<String,String> |
getEffectiveProperties()
Returns map of effective project properties defines by ext.property = 'value'.
|
List<GradleRepository> |
getEffectiveRepositories()
Returns list of effective repositories defined for this project.
|
List<GradleSourceSet> |
getEffectiveSourceSets()
Returns list of Gradle source sets.
|
List<GradleTask> |
getEffectiveTasks()
Returns effective list of tasks defined in the project.
|
String |
getGroup()
Returns value of the project.group property.
|
List<GradleDependency> |
getManagedDependencies()
Returns list of managed dependencies parsed from the project.
|
String |
getName()
Returns value of the project.name property.
|
String |
getPackaging()
Returns packaging of the project defined by applied plugins.
|
List<GradlePlugin> |
getPlugins()
Returns list of plugins applied to the project by apply plugin: 'name'.
|
List<GradleProfile> |
getProfiles()
Returns list of Gradle profiles defined in project directory.
|
String |
getProjectPath()
Returns project path.
|
Map<String,String> |
getProperties()
Returns map of project properties defines by ext.property = 'value'.
|
List<GradleRepository> |
getRepositories()
Returns list of repositories defined for this project.
|
String |
getRootProjectPath()
Returns root project path.
|
List<GradleTask> |
getTasks()
Returns list of tasks defined in the project.
|
String |
getVersion()
Returns value of the project.version property.
|
boolean |
hasDependency(GradleDependency dep)
Returns true if
getDependencies() contains a dependency with the same coordinates and configuration as
the given dependency. |
boolean |
hasEffectiveDependency(GradleDependency dependency)
Returns true if
getEffectiveDependencies() contains a dependency with the same coordinates and
configuration as the given dependency. |
boolean |
hasEffectiveManagedDependency(GradleDependency dependency)
Returns true if
getEffectiveManagedDependencies() contains a dependency with the same coordinates and
configuration as the given dependency. |
boolean |
hasEffectivePlugin(GradlePlugin plugin)
Returns true if
getEffectivePlugins() contains a plugin with the same name as given plugin. |
boolean |
hasEffectiveRepository(GradleRepository repo)
Returns true if
getEffectiveRepositories() contains a repository with the same URL as given repository. |
boolean |
hasEffectiveTask(GradleTask task)
Returns true if
getEffectiveTasks() contains a task with the same name as the given task. |
boolean |
hasManagedDependency(GradleDependency dep)
Returns true if
getManagedDependencies() contains a dependency with the same coordinates and
configuration as the given dependency. |
boolean |
hasPlugin(GradlePlugin plugin)
Returns true if
getPlugins() contains a plugin with the same name as given plugin. |
boolean |
hasProfile(GradleProfile profile)
Returns true if
getProfiles() contains a profile with the same name as the given profile. |
boolean |
hasRepository(GradleRepository repo)
Returns true if
getRepositories() contains a repository with the same URL as given repository. |
String getGroup()
String getName()
String getVersion()
String getPackaging()
String getArchiveName()
String getProjectPath()
String getRootProjectPath()
String getArchivePath()
List<GradleTask> getTasks()
List<GradleTask> getEffectiveTasks()
boolean hasEffectiveTask(GradleTask task)
getEffectiveTasks() contains a task with the same name as the given task.GradleTaskBuilderList<GradleDependency> getDependencies()
boolean hasDependency(GradleDependency dep)
getDependencies() contains a dependency with the same coordinates and configuration as
the given dependency.GradleDependencyBuilderList<GradleDependency> getEffectiveDependencies()
boolean hasEffectiveDependency(GradleDependency dependency)
getEffectiveDependencies() contains a dependency with the same coordinates and
configuration as the given dependency.GradleDependencyBuilderList<GradleDependency> getManagedDependencies()
boolean hasManagedDependency(GradleDependency dep)
getManagedDependencies() contains a dependency with the same coordinates and
configuration as the given dependency.GradleDependencyBuilderList<GradleDependency> getEffectiveManagedDependencies()
boolean hasEffectiveManagedDependency(GradleDependency dependency)
getEffectiveManagedDependencies() contains a dependency with the same coordinates and
configuration as the given dependency.GradleDependencyBuilderList<GradleProfile> getProfiles()
boolean hasProfile(GradleProfile profile)
getProfiles() contains a profile with the same name as the given profile.GradleProfileBuilderList<GradlePlugin> getPlugins()
boolean hasPlugin(GradlePlugin plugin)
getPlugins() contains a plugin with the same name as given plugin.GradlePluginBuilderList<GradlePlugin> getEffectivePlugins()
boolean hasEffectivePlugin(GradlePlugin plugin)
getEffectivePlugins() contains a plugin with the same name as given plugin.GradlePluginBuilderList<GradleRepository> getRepositories()
boolean hasRepository(GradleRepository repo)
getRepositories() contains a repository with the same URL as given repository.GradleRepositoryBuilderList<GradleRepository> getEffectiveRepositories()
boolean hasEffectiveRepository(GradleRepository repo)
getEffectiveRepositories() contains a repository with the same URL as given repository.GradleRepositoryBuilderMap<String,String> getProperties()
Map<String,String> getEffectiveProperties()
List<GradleSourceSet> getEffectiveSourceSets()
Copyright © 2014 JBoss by Red Hat. All rights reserved.