Ignore:
Timestamp:
08/31/12 12:03:53 (12 years ago)
Author:
sherbold
Message:
  • listCommands now lists the commands ordered by the package
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-utils/src/main/java/de/ugoe/cs/util/console/CommandExecuter.java

    r718 r731  
    297297        return commandArray; 
    298298    } 
     299     
     300    /** 
     301     * <p> 
     302     * Get a copy of the currently registered command packages. 
     303     * </p> 
     304     * 
     305     * @return currently registered command packages 
     306     */ 
     307    public List<String> getCommandPackages() { 
     308        List<String> commandPackageListCopy = new ArrayList<String>(commandPackageList); 
     309        commandPackageListCopy.add(0, defaultPackage); 
     310        return commandPackageListCopy; 
     311    } 
    299312} 
Note: See TracChangeset for help on using the changeset viewer.