org.guvnor.structure.repositories
Interface Repository
- All Superinterfaces:
- org.uberfire.commons.data.Cacheable, org.uberfire.security.Resource, org.uberfire.security.authz.RuntimeResource
- All Known Implementing Classes:
- GitRepository
public interface Repository
- extends org.uberfire.security.authz.RuntimeResource, org.uberfire.commons.data.Cacheable
| Methods inherited from interface org.uberfire.security.authz.RuntimeResource |
getRoles, getSignatureId, getTraits |
| Methods inherited from interface org.uberfire.commons.data.Cacheable |
markAsCached, requiresRefresh |
getAlias
String getAlias()
getScheme
String getScheme()
getEnvironment
Map<String,Object> getEnvironment()
addEnvironmentParameter
void addEnvironmentParameter(String key,
Object value)
isValid
boolean isValid()
getUri
String getUri()
getPublicURIs
List<PublicURI> getPublicURIs()
getRoot
org.uberfire.backend.vfs.Path getRoot()
setRoot
void setRoot(org.uberfire.backend.vfs.Path root)
getBranches
Collection<String> getBranches()
- Returns "read-only" view of all branches available in this repository.
- Returns:
getCurrentBranch
String getCurrentBranch()
- Returns current branch that is configured for this repository.
It will always provide branch name even if there was no explicit
branch selected/created - which in that case is always 'master'
- Returns:
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.