Package net.sourceforge.plantuml.command
Class CommandMultilines2<S extends Diagram>
java.lang.Object
net.sourceforge.plantuml.command.CommandMultilines2<S>
- All Implemented Interfaces:
Command<S>
- Direct Known Subclasses:
CommandArchimateMultilines,CommandArrowLong3,CommandCommentMultilines,CommandCommentMultilines2,CommandCreateClassMultilines,CommandCreateElementMultilines,CommandCreateEntityObjectMultilines,CommandCreateJson,CommandCreateMap,CommandEbnfMultilines,CommandLinkLongActivity,CommandMindMapOrgmodeMultiline,CommandMultilinesLegend,CommandNoteBottom,CommandNoteLong,CommandNoteLong3,CommandNoteMultilines,CommandParticipantMultilines,CommandSpriteSvgMultiline,CommandStyleMultilinesCSS,CommandWBSItemMultiline
-
Constructor Summary
ConstructorsConstructorDescriptionCommandMultilines2(IRegex patternStart, MultilinesStrategy strategy, Trim trimEnd, Lazy<Pattern2> end) -
Method Summary
Modifier and TypeMethodDescriptionfinal CommandExecutionResultexecute(S system, BlocLines lines, ParserPass currentPass) protected abstract CommandExecutionResultexecuteNow(S system, BlocLines lines, ParserPass currentPass) protected CommandControlfinalVerification(BlocLines lines) final voidprotected final IRegexprotected booleanbooleanisEligibleFor(ParserPass pass) final CommandControlboolean
-
Constructor Details
-
CommandMultilines2
public CommandMultilines2(IRegex patternStart, MultilinesStrategy strategy, Trim trimEnd, Lazy<Pattern2> end)
-
-
Method Details
-
syntaxWithFinalBracket
public boolean syntaxWithFinalBracket() -
getPatternEndToto
public final void getPatternEndToto() -
isValid
-
execute
-
executeNow
protected abstract CommandExecutionResult executeNow(S system, BlocLines lines, ParserPass currentPass) throws NoSuchColorException - Throws:
NoSuchColorException
-
isCommandForbidden
protected boolean isCommandForbidden() -
finalVerification
-
getStartingPattern
-
isEligibleFor
- Specified by:
isEligibleForin interfaceCommand<S extends Diagram>
-
getEndPattern
-