public interface Repository
extends org.uberfire.security.authz.RuntimeContentResource, org.uberfire.commons.data.Cacheable
| 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.
|
Collection<String> |
getBranches()
Returns "read-only" view of all branches available in this repository.
|
org.uberfire.backend.vfs.Path |
getBranchRoot(String branch) |
String |
getDefaultBranch()
In the case of Git repository this would be master.
|
Map<String,Object> |
getEnvironment() |
List<PublicURI> |
getPublicURIs() |
org.uberfire.backend.vfs.Path |
getRoot() |
String |
getScheme() |
String |
getUri() |
boolean |
isValid() |
void |
setRoot(org.uberfire.backend.vfs.Path root) |
String getAlias()
String getScheme()
boolean isValid()
String getUri()
org.uberfire.backend.vfs.Path getRoot()
org.uberfire.backend.vfs.Path getBranchRoot(String branch)
void setRoot(org.uberfire.backend.vfs.Path root)
Collection<String> getBranches()
String getDefaultBranch()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.