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,CommandGroupEnd,CommandGroupEnd3,CommandGrouping,CommandGroupStart,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,CommandSpriteSvg,CommandStart3,CommandStdlib,CommandStereotype,CommandStop3,CommandStyleImport,CommandSwimlane,CommandSwimlane2,CommandSwitch,CommandTicks,CommandTimeMessage,CommandTitle,CommandUrl,CommandUrl,CommandUseDateFormat,CommandWBSItem,CommandWeekNumberStrategy,CommandWhile3,CommandWhileEnd3,CommandWLink,NaturalCommand
public abstract class SingleLineCommand2<S extends Diagram> extends 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()String[]getDescription()protected booleanisCommandForbidden()protected booleanisForbidden(CharSequence line)CommandControlisValid(BlocLines lines)booleansyntaxWithFinalBracket()
-
-
-
Method Detail
-
syntaxWithFinalBracket
public boolean syntaxWithFinalBracket()
-
getDescription
public 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(CharSequence line)
-
executeArg
protected abstract CommandExecutionResult executeArg(S system, LineLocation location, RegexResult arg) throws NoSuchColorException
- Throws:
NoSuchColorException
-
-