@Portable public class WorkspaceProject extends Object implements org.uberfire.commons.data.Cacheable
| Constructor and Description |
|---|
WorkspaceProject() |
WorkspaceProject(OrganizationalUnit organizationalUnit,
Repository repository,
Branch branch,
Module mainModule) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Branch |
getBranch()
Branch is where the Project is located.
|
String |
getEncodedIdentifier() |
Module |
getMainModule() |
String |
getName()
Name resolution sources in priority order: root pom.xml module name, root pom.xml artifactId and if everything else fails we use the repository alias.
|
OrganizationalUnit |
getOrganizationalUnit() |
Repository |
getRepository()
This is here for convenience.
|
Path |
getRootPath()
Short cut for the WorkspaceProject root.
|
Space |
getSpace() |
int |
hashCode() |
void |
markAsCached() |
boolean |
requiresRefresh() |
public WorkspaceProject()
public WorkspaceProject(OrganizationalUnit organizationalUnit, Repository repository, Branch branch, Module mainModule)
public OrganizationalUnit getOrganizationalUnit()
public Repository getRepository()
public Branch getBranch()
public Module getMainModule()
public String getEncodedIdentifier()
public boolean requiresRefresh()
requiresRefresh in interface org.uberfire.commons.data.Cacheablepublic String getName()
public void markAsCached()
markAsCached in interface org.uberfire.commons.data.Cacheablepublic Path getRootPath()
public Space getSpace()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.