Interface Project
public interface Project
A top-level element in Central Dogma storage model. A project has
"dogma"
and "meta"
repositories by default which contain project configuration files accessible by system administrators
and project owners respectively.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthor()
Returns the author who initially created this project.long
Returns the creation time of this project, in milliseconds.Returns the list of internal repositories which areREPO_DOGMA
andREPO_META
.static boolean
isReservedRepoName
(String repoName) Returnstrue
if the specified repository name is reserved by Central Dogma.metadata()
Returns theProjectMetadata
of this project.metaRepo()
Returns theMetaRepository
of this project.name()
Returns the name of this project.repos()
Returns theRepositoryManager
of this project.
-
Field Details
-
REPO_DOGMA
The repository that contains project configuration files, which are accessible by system administrators.- See Also:
-
REPO_META
The repository that contains project configuration files, which are accessible by project owners.- See Also:
-
-
Method Details
-
name
String name()Returns the name of this project. -
creationTimeMillis
long creationTimeMillis()Returns the creation time of this project, in milliseconds. -
author
Author author()Returns the author who initially created this project. -
metaRepo
MetaRepository metaRepo()Returns theMetaRepository
of this project. -
repos
RepositoryManager repos()Returns theRepositoryManager
of this project. -
metadata
Returns theProjectMetadata
of this project.null
if the project is internal. -
internalRepos
Returns the list of internal repositories which areREPO_DOGMA
andREPO_META
. -
isReservedRepoName
Returnstrue
if the specified repository name is reserved by Central Dogma.
-