Package net.sourceforge.plantuml.command
Class CommandMultilines3<S extends Diagram>
- java.lang.Object
-
- net.sourceforge.plantuml.command.CommandMultilines3<S>
-
- All Implemented Interfaces:
Command<S>
- Direct Known Subclasses:
CommandRepeatWhile3Multilines
public abstract class CommandMultilines3<S extends Diagram> extends java.lang.Object implements Command<S>
-
-
Constructor Summary
Constructors Constructor Description CommandMultilines3(IRegex patternStart, MultilinesStrategy strategy)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidactionIfCommandValid()CommandExecutionResultexecute(S system, BlocLines lines)protected abstract CommandExecutionResultexecuteNow(S system, BlocLines lines)java.lang.String[]getDescription()abstract RegexConcatgetPatternEnd2()protected IRegexgetStartingPattern()protected booleanisCommandForbidden()CommandControlisValid(BlocLines lines)
-
-
-
Constructor Detail
-
CommandMultilines3
public CommandMultilines3(IRegex patternStart, MultilinesStrategy strategy)
-
-
Method Detail
-
getPatternEnd2
public abstract RegexConcat getPatternEnd2()
-
getDescription
public java.lang.String[] getDescription()
- Specified by:
getDescriptionin interfaceCommand<S extends Diagram>
-
isValid
public final CommandControl isValid(BlocLines lines)
-
execute
public final CommandExecutionResult execute(S system, BlocLines lines)
-
executeNow
protected abstract CommandExecutionResult executeNow(S system, BlocLines lines)
-
isCommandForbidden
protected boolean isCommandForbidden()
-
actionIfCommandValid
protected void actionIfCommandValid()
-
getStartingPattern
protected final IRegex getStartingPattern()
-
-