Guvnor - Project API 6.2.0.Beta1

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  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)
           
 
Method Summary
 boolean equals(Object o)
           
 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
Constructor Detail

Project

public Project()

Project

public Project(org.uberfire.backend.vfs.Path rootPath,
               org.uberfire.backend.vfs.Path pomXMLPath,
               String projectName)
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

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Guvnor - Project API 6.2.0.Beta1

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