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
,CommandAffineTransform
,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
,CommandComponent
,CommandConcurrentState
,CommandConstraint
,CommandConstraintOnLinks
,CommandCreateBlock
,CommandCreateClass
,CommandCreateDomain
,CommandCreateElementFull
,CommandCreateElementFull2
,CommandCreateElementParenthesis
,CommandCreateEntityObject
,CommandCreatePackage2
,CommandCreatePackageBlock
,CommandCreatePackageState
,CommandCreateState
,CommandDeactivateShort
,CommandDefineStateLong
,CommandDefineStateShort
,CommandDelay
,CommandDiamondAssociation
,CommandDivider
,CommandDockedEvent
,CommandElement
,CommandElse
,CommandElse3
,CommandElseBranch
,CommandElseIf2
,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
,CommandGroup3
,CommandGroupEnd3
,CommandGrouping
,CommandHeader
,CommandHelp
,CommandHelpColor
,CommandHelpFont
,CommandHelpKeyword
,CommandHelpSkinparam
,CommandHelpTheme
,CommandHelpType
,CommandHideEmptyDescription
,CommandHideRessourceFootbox
,CommandHideRessourceName
,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
,CommandRemoveRestore
,CommandRepeat3
,CommandRepeatWhile3
,CommandResume
,CommandReturn
,CommandRobustConcise
,CommandRotate
,CommandSalt
,CommandScale
,CommandScaleMaxHeight
,CommandScaleMaxWidth
,CommandScaleMaxWidthAndHeight
,CommandScalePixel
,CommandScaleWidthAndHeight
,CommandScaleWidthOrHeight
,CommandSeparator
,CommandSkin
,CommandSkinParam
,CommandSplit3
,CommandSplitAgain3
,CommandSplitEnd3
,CommandSpot
,CommandSpriteFile
,CommandStart3
,CommandStdlib
,CommandStereotype
,CommandStop3
,CommandStyleImport
,CommandSwimlane
,CommandSwimlane2
,CommandSwitch
,CommandTicks
,CommandTimeMessage
,CommandTitle
,CommandUrl
,CommandUrl
,CommandWBSItem
,CommandWeekNumberStrategy
,CommandWhile3
,CommandWhileEnd3
,CommandWLink
,NaturalCommand
-
Constructor Summary
ConstructorsConstructorDescriptionSingleLineCommand2
(boolean doTrim, IRegex pattern) SingleLineCommand2
(IRegex pattern) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
final CommandExecutionResult
protected abstract CommandExecutionResult
executeArg
(S system, LineLocation location, RegexResult arg) 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() -
actionIfCommandValid
protected void actionIfCommandValid() -
execute
-
isForbidden
-
executeArg
protected abstract CommandExecutionResult executeArg(S system, LineLocation location, RegexResult arg) throws NoSuchColorException - Throws:
NoSuchColorException
-