| Constructor and Description |
|---|
GitDataStoreImpl(File gitRepo,
String containerVersion) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close any resources used.
|
protected Properties |
findProfileProperties(org.eclipse.jgit.revwalk.RevTree tree,
org.jbosson.plugins.fuse.utils.GitDataStoreImpl.PropertiesAcceptor acceptor,
String profile,
String... paths) |
void |
getFabricMetadata(String profileName,
JBossFuseContainerTraits traits)
Get Fabric meta data for a given profile, and version.
|
protected String |
getParents(String profileName) |
protected Properties |
getPropertiesFile(org.eclipse.jgit.revwalk.RevTree tree,
String pathFilter) |
protected org.eclipse.jgit.revwalk.RevTree |
getRevTree(String branch) |
protected static String |
gitPath(String pathFormat,
String profilePathName) |
protected static String |
gitPathName(String profileName) |
public void close()
throws Exception
DataStorepublic void getFabricMetadata(String profileName, JBossFuseContainerTraits traits) throws org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException
DataStoregetFabricMetadata in interface DataStoreprofileName - name of profile to get metadata.traits - Container Traits to store collected meta data results.org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationExceptionprotected String getParents(String profileName) throws IOException
IOExceptionprotected Properties findProfileProperties(org.eclipse.jgit.revwalk.RevTree tree, org.jbosson.plugins.fuse.utils.GitDataStoreImpl.PropertiesAcceptor acceptor, String profile, String... paths) throws IOException
IOExceptionprotected Properties getPropertiesFile(org.eclipse.jgit.revwalk.RevTree tree, String pathFilter) throws IOException
IOExceptionprotected org.eclipse.jgit.revwalk.RevTree getRevTree(String branch) throws IOException
IOExceptionCopyright © 2014. All rights reserved.