public abstract class CommandMultilines3<S extends Diagram> extends java.lang.Object implements Command<S>
Constructor and Description |
---|
CommandMultilines3(IRegex 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 RegexConcat |
getPatternEnd2() |
protected IRegex |
getStartingPattern() |
protected boolean |
isCommandForbidden() |
CommandControl |
isValid(BlocLines lines) |
public CommandMultilines3(IRegex patternStart, MultilinesStrategy strategy)
public abstract RegexConcat getPatternEnd2()
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 IRegex getStartingPattern()
Copyright © 2020. All Rights Reserved.