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
,CommandActivate2
,CommandActivity3
,CommandActivityLegacy1
,CommandAddData
,CommandAddField
,CommandAddMethod
,CommandAllowMixing
,CommandAnalog
,CommandAnything
,CommandArchimate
,CommandArrow
,CommandArrow3
,CommandAssumeTransparent
,CommandAtPlayer
,CommandAtTime
,CommandAutoactivate
,CommandAutoNewpage
,CommandAutonumber
,CommandAutonumberIncrement
,CommandAutonumberResume
,CommandAutonumberStop
,CommandBackward3
,CommandBinary
,CommandBoardPlus
,CommandBoxEnd
,CommandBoxStart
,CommandBreak
,CommandCaption
,CommandCase
,CommandChangeStateByPlayerCode
,CommandChangeStateByTime
,CommandCircleSpot3
,CommandClock
,CommandColorTask
,CommandComment
,CommandComment
,CommandComponent
,CommandConcurrentState
,CommandConstraint
,CommandConstraintOnLinks
,CommandCreateBlock
,CommandCreateClass
,CommandCreateDomain
,CommandCreateElementFull
,CommandCreateElementFull2
,CommandCreateElementParenthesis
,CommandCreateEntityObject
,CommandCreateJsonSingleLine
,CommandCreatePackage2
,CommandCreatePackageBlock
,CommandCreatePackageState
,CommandCreateState
,CommandDeactivateShort
,CommandDefineStateLong
,CommandDefineStateShort
,CommandDelay
,CommandDiamondAssociation
,CommandDivider
,CommandDockedEvent
,CommandEBnfSingleLine
,CommandElement
,CommandElse
,CommandElse3
,CommandElseBranch
,CommandElseIf2
,CommandElseIf3
,CommandElseLegacy1
,CommandEnd3
,CommandEndBranch
,CommandEndif
,CommandEndif3
,CommandEndPackage
,CommandEndPackageBlock
,CommandEndPartition
,CommandEndPartition3
,CommandEndSomething
,CommandEndState
,CommandEndSwitch
,CommandExoArrowLeft
,CommandExoArrowRight
,CommandFootbox
,CommandFootbox
,CommandFootboxIgnored
,CommandFootboxOld
,CommandFooter
,CommandFork3
,CommandForkAgain3
,CommandForkEnd3
,CommandGanttArrow
,CommandGanttArrow2
,CommandGoto
,CommandGoto
,CommandGoto
,CommandGroup
,CommandGroupEnd
,CommandGroupEnd3
,CommandGrouping
,CommandGroupStart
,CommandHeader
,CommandHelpColor
,CommandHelpFont
,CommandHelpKeyword
,CommandHelpTheme
,CommandHelpType
,CommandHideEmptyDescription
,CommandHideResourceFootbox
,CommandHideResourceName
,CommandHideShow2
,CommandHideShowByGender
,CommandHideShowByVisibility
,CommandHideShowSpecificClass
,CommandHideTimeAxis
,CommandHideUnlinked
,CommandHighlight
,CommandHSpace
,CommandIf
,CommandIf2
,CommandIf4
,CommandIfLegacy1
,CommandIgnoreNewpage
,CommandInnerConcurrent
,CommandKill3
,CommandLabel
,CommandLabelOnColumn
,CommandLanguage
,CommandLayoutNewLine
,CommandLegend
,CommandLineSimple
,CommandLink
,CommandLink
,CommandLink3
,CommandLinkActivity
,CommandLinkAnchor
,CommandLinkBlock
,CommandLinkClass
,CommandLinkElement
,CommandLinkLollipop
,CommandLinkState
,CommandLinkStateReverse
,CommandListSprite
,CommandMainframe
,CommandMerge
,CommandMindMapDirection
,CommandMindMapOrgmode
,CommandMindMapPlus
,CommandMindMapRoot
,CommandMinwidth
,CommandModeCompact
,CommandMove
,CommandNamespace
,CommandNamespace2
,CommandNamespaceEmpty
,CommandNamespaceSeparator
,CommandNetwork
,CommandNewBranch
,CommandNewColumn
,CommandNewpage
,CommandNewpage
,CommandNolink
,CommandNope
,CommandNote
,CommandNote3
,CommandNwDiagInit
,CommandPackage
,CommandPackageEmpty
,CommandPackageWithUSymbol
,CommandPage
,CommandParticipant
,CommandPartition
,CommandPartition3
,CommandPixelHeight
,CommandPragma
,CommandPrint
,CommandPrintBetween
,CommandPrintScale
,CommandProperty
,CommandRankDir
,CommandReferenceOverSeveral
,CommandRegexfSingleLine
,CommandRemoveRestore
,CommandRepeat3
,CommandRepeatWhile3
,CommandResume
,CommandReturn
,CommandRobustConcise
,CommandRotate
,CommandSalt
,CommandScale
,CommandScaleMaxHeight
,CommandScaleMaxWidth
,CommandScaleMaxWidthAndHeight
,CommandScalePixel
,CommandScaleWidthAndHeight
,CommandScaleWidthOrHeight
,CommandSeparator
,CommandSkin
,CommandSkinParam
,CommandSplit3
,CommandSplitAgain3
,CommandSplitEnd3
,CommandSpot
,CommandSpriteFile
,CommandSpriteSvg
,CommandStart3
,CommandStdlib
,CommandStereotype
,CommandStop3
,CommandStyleImport
,CommandSwimlane
,CommandSwimlane2
,CommandSwitch
,CommandTaskCompleteDefault
,CommandTicks
,CommandTimeMessage
,CommandTitle
,CommandTogether
,CommandUrl
,CommandUrl
,CommandUseDateFormat
,CommandWBSItem
,CommandWBSLink
,CommandWeekNumberStrategy
,CommandWhile3
,CommandWhileEnd3
,CommandWLink
,NaturalCommand
-
Constructor Summary
ConstructorsConstructorDescriptionSingleLineCommand2
(boolean doTrim, IRegex pattern) SingleLineCommand2
(IRegex pattern) -
Method Summary
Modifier and TypeMethodDescriptionfinal CommandExecutionResult
protected abstract CommandExecutionResult
executeArg
(S system, LineLocation location, RegexResult arg) protected CommandControl
String[]
protected boolean
protected boolean
isForbidden
(CharSequence line) final CommandControl
boolean
-
Constructor Details
-
SingleLineCommand2
-
SingleLineCommand2
-
-
Method Details
-
syntaxWithFinalBracket
public boolean syntaxWithFinalBracket() -
getDescription
- Specified by:
getDescription
in interfaceCommand<S extends Diagram>
-
isValid
-
isCommandForbidden
protected boolean isCommandForbidden() -
finalVerification
-
execute
-
isForbidden
-
executeArg
protected abstract CommandExecutionResult executeArg(S system, LineLocation location, RegexResult arg) throws NoSuchColorException - Throws:
NoSuchColorException
-