Package jadex.platform.service.cli
Class CliContext
- java.lang.Object
- 
- jadex.platform.service.cli.CliContext
 
- 
 public class CliContext extends java.lang.ObjectThe cli context that is passed to the commands. Provides access to the cli platform and a user context.
- 
- 
Field SummaryFields Modifier and Type Field Description protected ACliShellshellThe cli shell.protected java.lang.ObjectusercontextThe user context.
 - 
Constructor SummaryConstructors Constructor Description CliContext()Create a new CliContext.CliContext(ACliShell clip, java.lang.Object usercontext)Create a new CliContext.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ACliShellgetShell()Get the clip.java.lang.ObjectgetUserContext()Get the userContext.voidsetShell(ACliShell clip)Set the clip.voidsetUserContext(java.lang.Object usercontext)Set the userContext.
 
- 
- 
- 
Field Detail- 
shellprotected ACliShell shell The cli shell.
 - 
usercontextprotected java.lang.Object usercontext The user context.
 
- 
 - 
Constructor Detail- 
CliContextpublic CliContext() Create a new CliContext.
 - 
CliContextpublic CliContext(ACliShell clip, java.lang.Object usercontext) Create a new CliContext.
 
- 
 - 
Method Detail- 
getShellpublic ACliShell getShell() Get the clip.- Returns:
- The clip.
 
 - 
setShellpublic void setShell(ACliShell clip) Set the clip.- Parameters:
- clip- The clip to set.
 
 - 
getUserContextpublic java.lang.Object getUserContext() Get the userContext.- Returns:
- The userContext.
 
 - 
setUserContextpublic void setUserContext(java.lang.Object usercontext) Set the userContext.- Parameters:
- userContext- The userContext to set.
 
 
- 
 
-