@Portable public class Project extends Object implements RuntimeContentResource, org.uberfire.commons.data.Cacheable
| Modifier and Type | Field and Description |
|---|---|
protected Collection<String> |
modules |
protected Path |
pomXMLPath |
protected String |
projectName |
static ProjectResourceType |
RESOURCE_TYPE |
protected Path |
rootPath |
| Constructor and Description |
|---|
Project() |
Project(Path rootPath,
Path pomXMLPath,
String projectName) |
Project(Path rootPath,
Path pomXMLPath,
String projectName,
Collection<String> modules) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getEncodedIdentifier() |
Collection<String> |
getGroups() |
String |
getIdentifier() |
Collection<String> |
getModules() |
int |
getNumberOfAssets() |
POM |
getPom() |
Path |
getPomXMLPath() |
String |
getProjectName() |
ResourceType |
getResourceType() |
Path |
getRootPath() |
int |
hashCode() |
void |
markAsCached() |
boolean |
requiresRefresh() |
void |
setNumberOfAssets(int numberOfAssets) |
void |
setPom(POM pom) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDependencies, isTypepublic static final ProjectResourceType RESOURCE_TYPE
protected Path rootPath
protected Path pomXMLPath
protected String projectName
protected Collection<String> modules
public Project()
public Project(Path rootPath, Path pomXMLPath, String projectName, Collection<String> modules)
public Path getRootPath()
public Path getPomXMLPath()
public String getProjectName()
public String getIdentifier()
getIdentifier in interface Resourcepublic String getEncodedIdentifier()
public ResourceType getResourceType()
getResourceType in interface Resourcepublic Collection<String> getGroups()
public void markAsCached()
markAsCached in interface org.uberfire.commons.data.Cacheablepublic boolean requiresRefresh()
requiresRefresh in interface org.uberfire.commons.data.Cacheablepublic Collection<String> getModules()
public POM getPom()
public void setPom(POM pom)
public int getNumberOfAssets()
public void setNumberOfAssets(int numberOfAssets)
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.