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,CommandAssociate,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,CommandCreateAttribute,CommandCreateBlock,CommandCreateClass,CommandCreateDomain,CommandCreateElementFull,CommandCreateElementFull2,CommandCreateElementParenthesis,CommandCreateEntity,CommandCreateEntityObject,CommandCreateJsonSingleLine,CommandCreatePackage2,CommandCreatePackageBlock,CommandCreatePackageState,CommandCreateState,CommandDeactivateShort,CommandDefineStateLong,CommandDefineStateShort,CommandDelay,CommandDiamondAssociation,CommandDivider,CommandDockedEvent,CommandEBnfSingleLine,CommandElement,CommandElse,CommandElse3,CommandElseBranch,CommandElseIf2,CommandElseIf3,CommandElseLegacy1,CommandEnd3,CommandEndBranch,CommandEndGroup,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,CommandMultiSubclass,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,CommandSimpleSubclass,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
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 CommandExecutionResultexecute(S system, BlocLines lines)protected abstract CommandExecutionResultexecuteArg(S system, LineLocation location, RegexResult arg)protected CommandControlfinalVerification()java.lang.String[]getDescription()protected booleanisCommandForbidden()protected booleanisForbidden(java.lang.CharSequence line)CommandControlisValid(BlocLines lines)booleansyntaxWithFinalBracket()
-
-
-
Method Detail
-
syntaxWithFinalBracket
public boolean syntaxWithFinalBracket()
-
getDescription
public java.lang.String[] getDescription()
- Specified by:
getDescriptionin interfaceCommand<S extends Diagram>
-
isValid
public final CommandControl isValid(BlocLines lines)
-
isCommandForbidden
protected boolean isCommandForbidden()
-
finalVerification
protected CommandControl finalVerification()
-
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) throws NoSuchColorException
- Throws:
NoSuchColorException
-
-