Class ModuleDependency
- java.lang.Object
-
- org.gradle.plugins.ide.idea.model.ModuleDependency
-
- All Implemented Interfaces:
Dependency
public class ModuleDependency extends Object implements Dependency
Represents an orderEntry of type module in the iml XML.
-
-
Constructor Summary
Constructors Constructor Description ModuleDependency(String name, String scope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToNode(Node parentNode)booleanequals(Object o)StringgetName()The name of the module the module depends on.StringgetScope()The scope for this dependency.inthashCode()booleanisExported()voidsetExported(boolean exported)voidsetName(String name)voidsetScope(String scope)The scope of this library.StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
The name of the module the module depends on. Must not be null.
-
setName
public void setName(String name)
-
getScope
public String getScope()
The scope for this dependency. If null the scope attribute is not added.- Specified by:
getScopein interfaceDependency
-
setScope
public void setScope(String scope)
Description copied from interface:DependencyThe scope of this library. Ifnull, the scope attribute is not added.- Specified by:
setScopein interfaceDependency
-
isExported
public boolean isExported()
-
setExported
public void setExported(boolean exported)
-
addToNode
public void addToNode(Node parentNode)
- Specified by:
addToNodein interfaceDependency
-
-