Guvnor - Project API 6.2.0.Beta2

org.guvnor.common.services.project.model
Class Project

java.lang.Object
  extended by 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


Field Summary
protected  Collection<String> modules
           
protected  org.uberfire.backend.vfs.Path pomXMLPath
           
protected  String projectName
           
protected  org.uberfire.backend.vfs.Path rootPath
           
 
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)
           
 
Method Summary
 boolean equals(Object obj)
           
 Collection<String> getModules()
           
 org.uberfire.backend.vfs.Path getPomXMLPath()
           
 String getProjectName()
           
 Collection<String> getRoles()
           
 org.uberfire.backend.vfs.Path getRootPath()
           
 String getSignatureId()
           
 Collection<String> getTraits()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Guvnor - Project API 6.2.0.Beta2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.