net.sourceforge.plantuml.command
Class CommandMultilines2<S extends PSystem>
java.lang.Object
net.sourceforge.plantuml.command.CommandMultilines2<S>
- All Implemented Interfaces:
- Command
- Direct Known Subclasses:
- CommandActivityLong3, CommandCreateClassMultilines, CommandCreateElementMultilines, CommandCreateEntityObjectMultilines, CommandLinkLongActivity, CommandLinkLongActivity2, CommandMouseOver
public abstract class CommandMultilines2<S extends PSystem>
- extends Object
- implements Command
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandMultilines2
public CommandMultilines2(S system,
RegexConcat patternStart,
MultilinesStrategy strategy)
getPatternEnd
public abstract String getPatternEnd()
getDescription
public String[] getDescription()
- Specified by:
getDescription
in interface Command
isValid
public final CommandControl isValid(List<String> lines)
- Specified by:
isValid
in interface Command
execute
public final CommandExecutionResult execute(List<String> lines)
- Specified by:
execute
in interface Command
executeNow
public abstract CommandExecutionResult executeNow(List<String> lines)
isCommandForbidden
protected boolean isCommandForbidden()
actionIfCommandValid
protected void actionIfCommandValid()
getSystem
protected S getSystem()
getStartingPattern
protected final RegexConcat getStartingPattern()
isDeprecated
public boolean isDeprecated(List<String> line)
- Specified by:
isDeprecated
in interface Command
getHelpMessageForDeprecated
public String getHelpMessageForDeprecated(List<String> lines)
- Specified by:
getHelpMessageForDeprecated
in interface Command
Copyright © 2013. All Rights Reserved.