public class ConfigCommand extends DocAsCodeCommand<Map<String,String>>
Modifier and Type | Class and Description |
---|---|
static class |
ConfigCommand.Action |
static class |
ConfigCommand.Level |
Constructor and Description |
---|
ConfigCommand(DocAsCodeRepository repo) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
call() |
ConfigCommand |
setAction(ConfigCommand.Action action) |
ConfigCommand |
setLevel(ConfigCommand.Level level) |
ConfigCommand |
setName(String name) |
ConfigCommand |
setSection(String section) |
ConfigCommand |
setSubsection(String subsection) |
ConfigCommand |
setValue(String value) |
getRepository
addListener, fireEvent, log, progress, removeListener
public ConfigCommand(DocAsCodeRepository repo)
public ConfigCommand setAction(ConfigCommand.Action action)
public ConfigCommand setSection(String section)
public ConfigCommand setSubsection(String subsection)
public ConfigCommand setName(String name)
public ConfigCommand setValue(String value)
public ConfigCommand setLevel(ConfigCommand.Level level)
public Map<String,String> call() throws DocAsCodeException
Copyright © 2019. All rights reserved.