Package com.artipie.debian
Class Config.FromYaml
- java.lang.Object
-
- com.artipie.debian.Config.FromYaml
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.artipie.debian.Config
Config.FromYaml
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>
archs()
List of the architectures repository supports.String
codename()
Repository codename.Collection<String>
components()
Repository components (subdirectories).Optional<GpgConfig>
gpg()
Optional gpg-configuration.
-
-
-
Constructor Detail
-
FromYaml
public FromYaml(String name, Optional<com.amihaiemil.eoyaml.YamlMapping> yaml, com.artipie.asto.Storage storage)
Ctor.- Parameters:
name
- Repository nameyaml
- Setting in yaml formatstorage
- Artipie configuration storage
-
FromYaml
public FromYaml(String name, com.amihaiemil.eoyaml.YamlMapping yaml, com.artipie.asto.Storage storage)
Ctor.- Parameters:
name
- Repository nameyaml
- Setting in yaml formatstorage
- Artipie configuration storage
-
-
Method Detail
-
components
public Collection<String> components()
Description copied from interface:Config
Repository components (subdirectories).- Specified by:
components
in interfaceConfig
- Returns:
- Components list
-
archs
public Collection<String> archs()
Description copied from interface:Config
List of the architectures repository supports.
-
-