public interface GitMetadataStore
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String name)
Deletes that repository meta information and removes its reference from the origin and forks.
|
Optional<GitMetadata> |
read(String name)
Reads the git metadata from repository.
|
void |
write(String name)
Writes the meta information about a repository without an origin.
|
void |
write(String name,
GitMetadata metadata)
Writes the meta information about a repository.
|
void |
write(String name,
GitMetadata metadata,
boolean lock)
Writes the meta information about a repository.
|
void |
write(String name,
String origin)
Writes the meta information about a repository and its origin.
|
void |
write(String name,
String origin,
boolean lock)
Writes the meta information about a repository and its origin.
|
void write(String name)
name - The name of the repository.void write(String name, String origin)
name - The name of the repositoryorigin - The name of the origin in organizationalUnit/repositoryName formatvoid write(String name, String origin, boolean lock)
name - The name of the repositoryorigin - The name of the origin in organizationalUnit/repositoryName formatlock - Determines if the FileSystem should be locked or notvoid write(String name, GitMetadata metadata)
name - The name of the repositorymetadata - The metadata object that stores information about repositoryvoid write(String name, GitMetadata metadata, boolean lock)
name - The name of the repositorymetadata - The metadata object that stores information about repositorylock - Determines if the FileSystem should be locked or notOptional<GitMetadata> read(String name)
name - the repository namevoid delete(String name)
name - The repository nameCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.