public abstract class CommandMultilines2<S extends Diagram> extends Object implements Command<S>
Constructor and Description |
---|
CommandMultilines2(RegexConcat patternStart,
MultilinesStrategy strategy) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionIfCommandValid() |
CommandExecutionResult |
execute(S system,
List<String> lines) |
abstract CommandExecutionResult |
executeNow(S system,
List<String> lines) |
String[] |
getDescription() |
abstract String |
getPatternEnd() |
protected RegexConcat |
getStartingPattern() |
protected boolean |
isCommandForbidden() |
CommandControl |
isValid(List<String> lines) |
public CommandMultilines2(RegexConcat patternStart, MultilinesStrategy strategy)
public abstract String getPatternEnd()
public String[] getDescription()
getDescription
in interface Command<S extends Diagram>
public final CommandControl isValid(List<String> lines)
public final CommandExecutionResult execute(S system, List<String> lines)
public abstract CommandExecutionResult executeNow(S system, List<String> lines)
protected boolean isCommandForbidden()
protected void actionIfCommandValid()
protected final RegexConcat getStartingPattern()
Copyright © 2015. All Rights Reserved.