Class Module
- java.lang.Object
-
- org.guvnor.common.services.project.model.Module
-
@Portable public class Module extends Object
An item representing a module. Each module has a pom.xml file and a folder it belongs into, it can have a parent and child modules. Note that the child and parent might not be in the same repository.
-
-
Field Summary
Fields Modifier and Type Field Description protected Collection<String>modulesprotected POMpomprotected org.uberfire.backend.vfs.PathpomXMLPathprotected org.uberfire.backend.vfs.PathrootPath
-
Constructor Summary
Constructors Constructor Description Module()Module(org.uberfire.backend.vfs.Path rootPath, org.uberfire.backend.vfs.Path pomXMLPath)Module(org.uberfire.backend.vfs.Path rootPath, org.uberfire.backend.vfs.Path pomXMLPath, POM pom)Module(org.uberfire.backend.vfs.Path rootPath, org.uberfire.backend.vfs.Path pomXMLPath, POM pom, Collection<String> modules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetEncodedIdentifier()StringgetIdentifier()StringgetModuleName()Collection<String>getModules()intgetNumberOfAssets()POMgetPom()org.uberfire.backend.vfs.PathgetPomXMLPath()org.uberfire.backend.vfs.PathgetRootPath()inthashCode()voidsetNumberOfAssets(int numberOfAssets)voidsetPom(POM pom)
-
-
-
Field Detail
-
rootPath
protected org.uberfire.backend.vfs.Path rootPath
-
pomXMLPath
protected org.uberfire.backend.vfs.Path pomXMLPath
-
modules
protected Collection<String> modules
-
pom
protected POM pom
-
-
Constructor Detail
-
Module
public Module()
-
Module
public Module(org.uberfire.backend.vfs.Path rootPath, org.uberfire.backend.vfs.Path pomXMLPath, POM pom)
-
Module
public Module(org.uberfire.backend.vfs.Path rootPath, org.uberfire.backend.vfs.Path pomXMLPath, POM pom, Collection<String> modules)
-
Module
public Module(org.uberfire.backend.vfs.Path rootPath, org.uberfire.backend.vfs.Path pomXMLPath)
-
-
Method Detail
-
getNumberOfAssets
public int getNumberOfAssets()
-
setNumberOfAssets
public void setNumberOfAssets(int numberOfAssets)
-
getRootPath
public org.uberfire.backend.vfs.Path getRootPath()
-
getPomXMLPath
public org.uberfire.backend.vfs.Path getPomXMLPath()
-
getModuleName
public String getModuleName()
-
getIdentifier
public String getIdentifier()
-
getEncodedIdentifier
public String getEncodedIdentifier()
-
getModules
public Collection<String> getModules()
-
getPom
public POM getPom()
-
setPom
public void setPom(POM pom)
-
-