org.lsst.ccs.shell
Class DashJoinedNamer
java.lang.Object
org.lsst.ccs.shell.DashJoinedNamer
- All Implemented Interfaces:
- CommandNamer
public class DashJoinedNamer
- extends Object
- implements CommandNamer
Default "dash-joined" implementation of the CommandNamer.
- Author:
- ASG
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DashJoinedNamer
public DashJoinedNamer(boolean doRemoveCommonPrefix)
nameCommand
public CommandNamer.NamingInfo nameCommand(Method method)
- Description copied from interface:
CommandNamer
- Generate command name and suggested abbreviation variants.
Since this method is given a Method, not a string, the algorithm can
take parameter types into account.
- Specified by:
nameCommand in interface CommandNamer
- Parameters:
method - Command method
- Returns:
- asg.cliche.CommandNamer.NamingInfo containing generated name and abbrev array.
Copyright © 2013 LSST. All Rights Reserved.