net.sourceforge.plantuml.command
Class ProtectedCommand

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

public class ProtectedCommand
extends java.lang.Object
implements Command


Constructor Summary
ProtectedCommand(Command cmd)
           
 
Method Summary
 CommandExecutionResult execute(java.util.List<java.lang.String> lines)
           
 java.lang.String[] getDescription()
           
 java.lang.String getHelpMessageForDeprecated(java.util.List<java.lang.String> lines)
           
 boolean isDeprecated(java.util.List<java.lang.String> lines)
           
 CommandControl isValid(java.util.List<java.lang.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 cmd)
Method Detail

execute

public CommandExecutionResult execute(java.util.List<java.lang.String> lines)
Specified by:
execute in interface Command

getHelpMessageForDeprecated

public java.lang.String getHelpMessageForDeprecated(java.util.List<java.lang.String> lines)
Specified by:
getHelpMessageForDeprecated in interface Command

isDeprecated

public boolean isDeprecated(java.util.List<java.lang.String> lines)
Specified by:
isDeprecated in interface Command

isValid

public CommandControl isValid(java.util.List<java.lang.String> lines)
Specified by:
isValid in interface Command

getDescription

public java.lang.String[] getDescription()
Specified by:
getDescription in interface Command


Copyright © 2011. All Rights Reserved.