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
,CommandAddLevel
,CommandAddMethod
,CommandAffineTransform
,CommandAllowMixing
,CommandAnalog
,CommandAnything
,CommandArchimate
,CommandArrow
,CommandArrow3
,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
,CommandCreatePackageBlock
,CommandCreatePackageState
,CommandCreatePostIt
,CommandCreateState
,CommandDeactivateShort
,CommandDefineStateLong
,CommandDefineStateShort
,CommandDelay
,CommandDiamondAssociation
,CommandDivider
,CommandDockedEvent
,CommandElement
,CommandElse
,CommandElse3
,CommandElseBranch
,CommandElseIf2
,CommandElseLegacy1
,CommandEmpty
,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
,CommandHelpType
,CommandHideEmptyDescription
,CommandHideShow2
,CommandHideShowByGender
,CommandHideShowByVisibility
,CommandHideShowSpecificClass
,CommandHideTimeAxis
,CommandHideUnlinked
,CommandHighlight
,CommandHSpace
,CommandIf
,CommandIf2
,CommandIf4
,CommandIfLegacy1
,CommandIgnoreNewpage
,CommandInnerConcurrent
,CommandKill3
,CommandLabel
,CommandLayoutNewLine
,CommandLineSimple
,CommandLink
,CommandLink
,CommandLink3
,CommandLinkActivity
,CommandLinkAnchor
,CommandLinkBlock
,CommandLinkClass
,CommandLinkElement
,CommandLinkLollipop
,CommandLinkState
,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
,CommandPage
,CommandParticipant
,CommandPartition
,CommandPartition3
,CommandPixelHeight
,CommandPragma
,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
,CommandWBSOrgmode
,CommandWBSPlus
,CommandWBSTabulation
,CommandWhile3
,CommandWhileEnd3
,CommandWidth
,CommandWLink
,NaturalCommand
public abstract class SingleLineCommand2<S extends Diagram> extends java.lang.Object implements Command<S>
-
-
Constructor Summary
Constructors Constructor Description SingleLineCommand2(boolean doTrim, IRegex pattern)
SingleLineCommand2(IRegex 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, LineLocation location, RegexResult arg)
java.lang.String[]
getDescription()
protected boolean
isCommandForbidden()
protected boolean
isForbidden(java.lang.CharSequence line)
CommandControl
isValid(BlocLines lines)
boolean
syntaxWithFinalBracket()
-
-
-
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, LineLocation location, RegexResult arg)
-
-