net.sourceforge.plantuml.command
Class ProtectedCommand<S extends Diagram>

java.lang.Object
  extended by net.sourceforge.plantuml.command.ProtectedCommand<S>
All Implemented Interfaces:
Command<S>

public class ProtectedCommand<S extends Diagram>
extends Object
implements Command<S>


Constructor Summary
ProtectedCommand(Command<S> cmd)
           
 
Method Summary
 CommandExecutionResult execute(S system, List<String> lines)
           
 String[] getDescription()
           
 CommandControl isValid(List<String> lines)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtectedCommand

public ProtectedCommand(Command<S> cmd)
Method Detail

execute

public CommandExecutionResult execute(S system,
                                      List<String> lines)
Specified by:
execute in interface Command<S extends Diagram>

isValid

public CommandControl isValid(List<String> lines)
Specified by:
isValid in interface Command<S extends Diagram>

getDescription

public String[] getDescription()
Specified by:
getDescription in interface Command<S extends Diagram>


Copyright © 2013. All Rights Reserved.