net.sourceforge.plantuml.command
Class SingleLineCommand2<S extends PSystem>
java.lang.Object
net.sourceforge.plantuml.command.SingleLineCommand2<S>
- All Implemented Interfaces:
- Command
- Direct Known Subclasses:
- CommandArrow, CommandBar2, CommandCreateEntityClass2, CommandCreatePostIt, CommandElse2, CommandEnd2, CommandEndif2, CommandGoto2, CommandHideShow, CommandHideShow3, CommandIf, CommandIf2, CommandLabel2, CommandLinkActivity, CommandLinkClass2, CommandLinkComponent2, CommandLinkLollipop2, CommandLinkState2, CommandLinkUsecase2, CommandParticipant, CommandReferenceOverSeveral
public abstract class SingleLineCommand2<S extends PSystem>
- extends java.lang.Object
- implements Command
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleLineCommand2
public SingleLineCommand2(S system,
RegexConcat pattern)
getSystem
protected final S getSystem()
getDescription
public java.lang.String[] getDescription()
- Specified by:
getDescription
in interface Command
isValid
public final CommandControl isValid(java.util.List<java.lang.String> lines)
- Specified by:
isValid
in interface Command
isCommandForbidden
protected boolean isCommandForbidden()
actionIfCommandValid
protected void actionIfCommandValid()
execute
public final CommandExecutionResult execute(java.util.List<java.lang.String> lines)
- Specified by:
execute
in interface Command
isForbidden
protected boolean isForbidden(java.lang.String line)
executeArg
protected abstract CommandExecutionResult executeArg(java.util.Map<java.lang.String,RegexPartialMatch> arg)
isDeprecated
public final boolean isDeprecated(java.util.List<java.lang.String> lines)
- Specified by:
isDeprecated
in interface Command
getHelpMessageForDeprecated
public java.lang.String getHelpMessageForDeprecated(java.util.List<java.lang.String> lines)
- Specified by:
getHelpMessageForDeprecated
in interface Command
isDeprecated
protected boolean isDeprecated(java.lang.String line)
Copyright © 2011. All Rights Reserved.