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,
BlocLines lines) |
abstract CommandExecutionResult |
executeNow(S system,
BlocLines lines) |
String[] |
getDescription() |
abstract String |
getPatternEnd() |
protected RegexConcat |
getStartingPattern() |
protected boolean |
isCommandForbidden() |
CommandControl |
isValid(BlocLines 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(BlocLines lines)
public final CommandExecutionResult execute(S system, BlocLines lines)
public abstract CommandExecutionResult executeNow(S system, BlocLines lines)
protected boolean isCommandForbidden()
protected void actionIfCommandValid()
protected final RegexConcat getStartingPattern()
Copyright © 2016. All Rights Reserved.