eu.unicore.hila.shell
Class ShellContext
java.lang.Object
eu.unicore.hila.shell.ShellContext
public class ShellContext
- extends Object
- Author:
- bjoernh
16.10.2009 13:42:10
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShellContext
public ShellContext(jline.ConsoleReader _cs)
throws eu.unicore.hila.exceptions.HiLALocationSyntaxException
- Throws:
eu.unicore.hila.exceptions.HiLALocationSyntaxException
getCs
public jline.ConsoleReader getCs()
- Returns:
- the cs
setDone
public void setDone(boolean isDone)
- Parameters:
isDone
- the isDone to set
getCurrentLocation
public eu.unicore.hila.Location getCurrentLocation()
- Returns:
- the currentLocation
setCurrentLocation
public void setCurrentLocation(eu.unicore.hila.Location currentLocation)
- Parameters:
currentLocation
- the currentLocation to set
getCurrentLocalDir
public File getCurrentLocalDir()
- Returns:
- the currentLocalDir
setCurrentLocalDir
public void setCurrentLocalDir(File currentLocalDir)
- Parameters:
currentLocalDir
- the currentLocalDir to set
getCommand
public ShellCommand getCommand(String _cmd)
registerCommand
public void registerCommand(String _cmdName,
ShellCommand _cmd)
registerCommand
public void registerCommand(ShellCommand _cmd)
isDone
public boolean isDone()
- Returns:
getCommands
public Collection<String> getCommands()
- Returns:
isAlias
public boolean isAlias(String string)
- Parameters:
string
-
- Returns:
getAlias
public String getAlias(String string)
- Parameters:
string
-
- Returns:
getAliases
public Map<String,String> getAliases()
- Returns:
- the aliases
Copyright © 2010-2013 UNICORE. All Rights Reserved.