Package net.sourceforge.plantuml.command
Class SingleLineCommand2<S extends Diagram>
- java.lang.Object
-
- net.sourceforge.plantuml.command.SingleLineCommand2<S>
-
- All Implemented Interfaces:
Command<S>
- Direct Known Subclasses:
CommandActivate
,CommandActivity3
,CommandActivityLegacy1
,CommandAddField
,CommandAddLevel
,CommandAllowMixing
,CommandArchimate
,CommandArrow
,CommandArrow3
,CommandAtPlayer
,CommandAtTime
,CommandAutonumber
,CommandAutonumberIncrement
,CommandAutonumberResume
,CommandBackward3
,CommandBoxStart
,CommandBreak
,CommandChangeStateByPlayerCode
,CommandChangeStateByTime
,CommandCircleSpot3
,CommandComment
,CommandConstraint
,CommandCreateClass
,CommandCreateDomain
,CommandCreateElementFull
,CommandCreateElementFull2
,CommandCreateEntityObject
,CommandCreatePackageState
,CommandCreatePostIt
,CommandCreateState
,CommandDeactivateShort
,CommandDefineStateLong
,CommandDefineStateShort
,CommandDockedEvent
,CommandElement
,CommandElse3
,CommandElseBranch
,CommandElseIf2
,CommandElseLegacy1
,CommandEmpty
,CommandEnd3
,CommandEndBranch
,CommandEndif3
,CommandEndSomething
,CommandExoArrowLeft
,CommandExoArrowRight
,CommandFork3
,CommandForkAgain3
,CommandForkEnd3
,CommandGanttArrow
,CommandGanttArrow2
,CommandGoto
,CommandGoto
,CommandGroup
,CommandGroup3
,CommandGroupEnd3
,CommandGrouping
,CommandHideShow2
,CommandHideShowByGender
,CommandHideShowByVisibility
,CommandHideShowSpecificClass
,CommandHideShowSpecificStereotype
,CommandIf
,CommandIf2
,CommandIf4
,CommandIfLegacy1
,CommandKill3
,CommandLabel
,CommandLayoutNewLine
,CommandLifeLine
,CommandLineSimple
,CommandLink
,CommandLink
,CommandLink3
,CommandLinkActivity
,CommandLinkAnchor
,CommandLinkClass
,CommandLinkElement
,CommandLinkLollipop
,CommandLinkState
,CommandMerge
,CommandNamespace
,CommandNetwork
,CommandNewBranch
,CommandNewpage
,CommandNolink
,CommandNote
,CommandNote3
,CommandNwDiagInit
,CommandPackage
,CommandPackageWithUSymbol
,CommandParticipant
,CommandPartition
,CommandPartition3
,CommandProperty
,CommandReferenceOverSeveral
,CommandRemoveRestore
,CommandRepeat3
,CommandRepeatWhile3
,CommandResume
,CommandReturn
,CommandScalePixel
,CommandSeparator
,CommandSplit3
,CommandSplitAgain3
,CommandSplitEnd3
,CommandSpriteFile
,CommandStart3
,CommandStop3
,CommandSwimlane
,CommandSwimlane2
,CommandTimeMessage
,CommandWhile3
,CommandWhileEnd3
,NaturalCommand
,NaturalCommandAnd
,NaturalCommandAndAnd
public abstract class SingleLineCommand2<S extends Diagram> extends java.lang.Object implements Command<S>
-
-
Constructor Summary
Constructors Constructor Description SingleLineCommand2(RegexConcat pattern)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
actionIfCommandValid()
CommandExecutionResult
execute(S system, BlocLines lines)
protected abstract CommandExecutionResult
executeArg(S system, RegexResult arg)
java.lang.String[]
getDescription()
protected boolean
isCommandForbidden()
protected boolean
isForbidden(java.lang.CharSequence line)
CommandControl
isValid(BlocLines lines)
boolean
syntaxWithFinalBracket()
-
-
-
Constructor Detail
-
SingleLineCommand2
public SingleLineCommand2(RegexConcat pattern)
-
-
Method Detail
-
syntaxWithFinalBracket
public boolean syntaxWithFinalBracket()
-
getDescription
public java.lang.String[] getDescription()
- Specified by:
getDescription
in interfaceCommand<S extends Diagram>
-
isValid
public final CommandControl isValid(BlocLines lines)
-
isCommandForbidden
protected boolean isCommandForbidden()
-
actionIfCommandValid
protected void actionIfCommandValid()
-
execute
public final CommandExecutionResult execute(S system, BlocLines lines)
-
isForbidden
protected boolean isForbidden(java.lang.CharSequence line)
-
executeArg
protected abstract CommandExecutionResult executeArg(S system, RegexResult arg)
-
-