public class ConfigCommand extends DocAsCodeCommand<Map<String,String>>
Modifier and Type | Class and Description |
---|---|
static class |
ConfigCommand.Action |
static class |
ConfigCommand.Level |
Modifier and Type | Field and Description |
---|---|
protected ConfigCommand.Action |
action |
protected ConfigCommand.Level |
level |
protected String |
name |
protected String |
section |
protected String |
subsection |
protected String |
value |
repo
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
protected ConfigCommand.Action action
protected ConfigCommand.Level level
protected String section
protected String subsection
protected String name
protected String value
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.