public abstract class CommandMultilines2<S extends Diagram> extends java.lang.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) |
protected abstract CommandExecutionResult |
executeNow(S system,
BlocLines lines) |
java.lang.String[] |
getDescription() |
abstract java.lang.String |
getPatternEnd() |
protected RegexConcat |
getStartingPattern() |
protected boolean |
isCommandForbidden() |
CommandControl |
isValid(BlocLines lines) |
boolean |
syntaxWithFinalBracket() |
public CommandMultilines2(RegexConcat patternStart, MultilinesStrategy strategy)
public boolean syntaxWithFinalBracket()
public abstract java.lang.String getPatternEnd()
public java.lang.String[] getDescription()
getDescription
in interface Command<S extends Diagram>
public final CommandControl isValid(BlocLines lines)
public final CommandExecutionResult execute(S system, BlocLines lines)
protected abstract CommandExecutionResult executeNow(S system, BlocLines lines)
protected boolean isCommandForbidden()
protected void actionIfCommandValid()
protected final RegexConcat getStartingPattern()
Copyright © 2019. All Rights Reserved.