Class Project
java.lang.Object
org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
org.gradle.plugins.ide.idea.model.Project
- All Implemented Interfaces:
- org.gradle.plugins.ide.internal.generator.generator.PersistableConfigurationObject
public class Project
extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
Represents the customizable elements of an ipr (via XML hooks everything of the ipr is customizable).
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddModulePath(File moduleFile) Adds a module to the module paths included in the Project.voidconfigure(List<IdeaModule> modules, String jdkName, IdeaLanguageLevel languageLevel, JavaVersion bytecodeVersion, Collection<String> wildcards, Collection<ProjectLibrary> projectLibraries, String vcs) booleanprotected StringgetJdk()Represent the jdk information of the project java sdk.A set ofPathinstances pointing to the modules contained in the ipr.The project-level libraries of the IDEA project.getVcs()The vcs used by the project.A set of wildcard string to be included/excluded from the resources.inthashCode()protected voidvoidvoidsetModulePaths(Set<Path> modulePaths) voidsetProjectLibraries(Set<ProjectLibrary> projectLibraries) voidvoidsetWildcards(Set<String> wildcards) protected voidMethods inherited from class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObjectfindFirstChildNamed, findFirstChildWithAttributeValue, findFirstWithAttributeValue, findOrCreateFirstChildNamed, findOrCreateFirstChildWithAttributeValue, getChildren, getXml, load, store, transformAction, transformActionMethods inherited from class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObjectload, loadDefaults, store
- 
Constructor Details- 
Project
 
- 
- 
Method Details- 
getModulePathsA set ofPathinstances pointing to the modules contained in the ipr.
- 
setModulePaths
- 
addModulePathAdds a module to the module paths included in the Project.- Parameters:
- moduleFile- path to the module's module file
- Since:
- 4.0
 
- 
getWildcardsA set of wildcard string to be included/excluded from the resources.
- 
setWildcards
- 
getJdkRepresent the jdk information of the project java sdk.
- 
setJdk
- 
getVcsThe vcs used by the project.
- 
setVcs
- 
getProjectLibrariesThe project-level libraries of the IDEA project.
- 
setProjectLibraries
- 
getDefaultResourceName- Specified by:
- getDefaultResourceNamein class- org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
 
- 
configurepublic void configure(List<IdeaModule> modules, String jdkName, IdeaLanguageLevel languageLevel, JavaVersion bytecodeVersion, Collection<String> wildcards, Collection<ProjectLibrary> projectLibraries, String vcs) 
- 
load- Overrides:
- loadin class- org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
 
- 
store- Overrides:
- storein class- org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
 
- 
equals
- 
hashCodepublic int hashCode()
 
-