Class CommandLinkState
- java.lang.Object
-
- net.sourceforge.plantuml.command.SingleLineCommand2<StateDiagram>
-
- net.sourceforge.plantuml.statediagram.command.CommandLinkState
-
- All Implemented Interfaces:
Command<StateDiagram>
public class CommandLinkState extends SingleLineCommand2<StateDiagram>
-
-
Constructor Summary
Constructors Constructor Description CommandLinkState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CommandExecutionResult
executeArg(StateDiagram diagram, LineLocation location, RegexResult arg, ParserPass currentPass)
protected Direction
getDefaultDirection()
protected static RegexLeaf
getStatePattern(java.lang.String name)
boolean
isEligibleFor(ParserPass pass)
-
Methods inherited from class net.sourceforge.plantuml.command.SingleLineCommand2
execute, finalVerification, getDescription, isCommandForbidden, isForbidden, isValid, syntaxWithFinalBracket
-
-
-
-
Method Detail
-
isEligibleFor
public boolean isEligibleFor(ParserPass pass)
- Specified by:
isEligibleFor
in interfaceCommand<StateDiagram>
- Overrides:
isEligibleFor
in classSingleLineCommand2<StateDiagram>
-
getStatePattern
protected static RegexLeaf getStatePattern(java.lang.String name)
-
executeArg
protected CommandExecutionResult executeArg(StateDiagram diagram, LineLocation location, RegexResult arg, ParserPass currentPass) throws NoSuchColorException
- Specified by:
executeArg
in classSingleLineCommand2<StateDiagram>
- Throws:
NoSuchColorException
-
getDefaultDirection
protected Direction getDefaultDirection()
-
-