public interface Repository extends RuntimeContentResource, org.uberfire.commons.data.Cacheable
Modifier and Type | Field and Description |
---|---|
static RepositoryResourceType |
RESOURCE_TYPE |
Modifier and Type | Method and Description |
---|---|
void |
addEnvironmentParameter(String key,
Object value) |
String |
getAlias()
Most of the time, this can not be used as an unique ID.
|
Optional<Branch> |
getBranch(Path branchRoot) |
Optional<Branch> |
getBranch(String branch) |
Collection<Branch> |
getBranches()
Returns "read-only" view of all branches available in this repository.
|
Collection<Contributor> |
getContributors() |
Optional<Branch> |
getDefaultBranch()
In the case of Git repository this would be master.
|
Map<String,Object> |
getEnvironment() |
Collection<String> |
getGroups() |
List<PublicURI> |
getPublicURIs() |
SpacesAPI.Scheme |
getScheme() |
Space |
getSpace() |
String |
getUri() |
boolean |
isValid() |
getDependencies, getIdentifier, getResourceType, isType
static final RepositoryResourceType RESOURCE_TYPE
String getAlias()
SpacesAPI.Scheme getScheme()
Space getSpace()
boolean isValid()
String getUri()
Collection<String> getGroups()
Collection<Contributor> getContributors()
Collection<Branch> getBranches()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.