public interface Project extends Faceted<ProjectFacet>
Resource
instances that represent a unit of work.Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(Object key)
Get a value from this project's internal attributes.
|
Resource<?> |
getRoot()
|
default DirectoryResource |
getRootDirectory()
Deprecated.
|
default Optional<Stack> |
getStack()
A project may have a stack associated with it
|
void |
removeAttribute(Object key)
Remove a value from this project's internal attributes.
|
void |
setAttribute(Object key,
Object value)
Set a value in this project's internal attributes.
|
getFacet, getFacetAsOptional, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, supports
Object getAttribute(Object key)
null
instead.void setAttribute(Object key, Object value)
void removeAttribute(Object key)
@Deprecated default DirectoryResource getRootDirectory()
DirectoryResource
representing the root directory of this Project
.Resource<?> getRoot()
Copyright © 2016 JBoss by Red Hat. All rights reserved.