Package com.artipie.rpm
Class RepoConfig.FromYaml
java.lang.Object
com.artipie.rpm.RepoConfig.FromYaml
- All Implemented Interfaces:
RepoConfig
- Enclosing interface:
RepoConfig
Repository configuration from yaml.
- Since:
- 0.10
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.artipie.rpm.RepoConfig
RepoConfig.FromYaml, RepoConfig.Simple, RepoConfig.UpdateMode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncron()
Schedule to update repository in cron format, available forRepoConfig.UpdateMode.CRON
only.digest()
Repository digest.boolean
Is filelists.xml metadata required?mode()
Repository update mode, default isRepoConfig.UpdateMode.UPLOAD
.name()
Repository name.naming()
Repository naming policy.
-
Constructor Details
-
FromYaml
Ctor.- Parameters:
yaml
- Yaml settingsname
- Repository name
-
FromYaml
Ctor.- Parameters:
yaml
- Yaml settingsname
- Repository name
-
-
Method Details
-
digest
Description copied from interface:RepoConfig
Repository digest.- Specified by:
digest
in interfaceRepoConfig
- Returns:
- Digest algorithm
-
naming
Description copied from interface:RepoConfig
Repository naming policy.- Specified by:
naming
in interfaceRepoConfig
- Returns:
- Naming
-
filelists
public boolean filelists()Description copied from interface:RepoConfig
Is filelists.xml metadata required?- Specified by:
filelists
in interfaceRepoConfig
- Returns:
- True if filelists.xml is needed, false otherwise
-
mode
Description copied from interface:RepoConfig
Repository update mode, default isRepoConfig.UpdateMode.UPLOAD
.- Specified by:
mode
in interfaceRepoConfig
- Returns:
- Instance of
RepoConfig.UpdateMode
-
cron
Description copied from interface:RepoConfig
Schedule to update repository in cron format, available forRepoConfig.UpdateMode.CRON
only.- Specified by:
cron
in interfaceRepoConfig
- Returns:
- Cron update schedule
-
name
Description copied from interface:RepoConfig
Repository name.- Specified by:
name
in interfaceRepoConfig
- Returns:
- String name
-