org.guvnor.common.services.project.model
Class Project
java.lang.Object
org.guvnor.common.services.project.model.Project
- All Implemented Interfaces:
- org.uberfire.security.authz.RuntimeResource, org.uberfire.security.Resource
@Portable
public class Project
- extends Object
- implements org.uberfire.security.authz.RuntimeResource
An item representing a project
|
Constructor Summary |
Project()
|
Project(org.uberfire.backend.vfs.Path rootPath,
org.uberfire.backend.vfs.Path pomXMLPath,
String projectName)
|
Project(org.uberfire.backend.vfs.Path rootPath,
org.uberfire.backend.vfs.Path pomXMLPath,
String projectName,
Collection<String> modules)
|
rootPath
protected org.uberfire.backend.vfs.Path rootPath
pomXMLPath
protected org.uberfire.backend.vfs.Path pomXMLPath
projectName
protected String projectName
modules
protected Collection<String> modules
Project
public Project()
Project
public Project(org.uberfire.backend.vfs.Path rootPath,
org.uberfire.backend.vfs.Path pomXMLPath,
String projectName)
Project
public Project(org.uberfire.backend.vfs.Path rootPath,
org.uberfire.backend.vfs.Path pomXMLPath,
String projectName,
Collection<String> modules)
getRootPath
public org.uberfire.backend.vfs.Path getRootPath()
getPomXMLPath
public org.uberfire.backend.vfs.Path getPomXMLPath()
getProjectName
public String getProjectName()
getSignatureId
public String getSignatureId()
- Specified by:
getSignatureId in interface org.uberfire.security.authz.RuntimeResource
getRoles
public Collection<String> getRoles()
- Specified by:
getRoles in interface org.uberfire.security.authz.RuntimeResource
getTraits
public Collection<String> getTraits()
- Specified by:
getTraits in interface org.uberfire.security.authz.RuntimeResource
getModules
public Collection<String> getModules()
getPom
public POM getPom()
setPom
public void setPom(POM pom)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.