This project has retired. For details please refer to its Attic page.
LensConnectionCommands (Lens 2.0.1-beta-incubating API)

org.apache.lens.cli.commands
Class LensConnectionCommands

java.lang.Object
  extended by org.apache.lens.cli.commands.BaseLensCommand
      extended by org.apache.lens.cli.commands.LensConnectionCommands
All Implemented Interfaces:
org.springframework.shell.core.CommandMarker

@Component
public class LensConnectionCommands
extends BaseLensCommand
implements org.springframework.shell.core.CommandMarker

The Class LensConnectionCommands.


Field Summary
 
Fields inherited from class org.apache.lens.cli.commands.BaseLensCommand
LOG
 
Constructor Summary
LensConnectionCommands()
           
 
Method Summary
 String addFile(String path)
          Adds the file.
 String addJar(String path)
          Adds the jar.
 String getParam(String param)
          Gets the param.
 String listResources(String type)
          List resources.
 org.springframework.shell.core.ExitShellRequest quitShell()
          Quit shell.
 String removeFile(String path)
          Removes the file.
 String removeJar(String path)
          Removes the jar.
 String setParam(String keyval)
          Sets the param.
 String showParameters()
          Show parameters.
 
Methods inherited from class org.apache.lens.cli.commands.BaseLensCommand
formatJson, getClient, getClientWrapper, setClient
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LensConnectionCommands

public LensConnectionCommands()
Method Detail

setParam

public String setParam(String keyval)
Sets the param.

Parameters:
keyval - the keyval
Returns:
the string

showParameters

public String showParameters()
Show parameters.

Returns:
the string

listResources

public String listResources(String type)
List resources.

Returns:
the string

getParam

public String getParam(String param)
Gets the param.

Parameters:
param - the param
Returns:
the param

addJar

public String addJar(String path)
Adds the jar.

Parameters:
path - the path
Returns:
the string

removeJar

public String removeJar(String path)
Removes the jar.

Parameters:
path - the path
Returns:
the string

addFile

public String addFile(String path)
Adds the file.

Parameters:
path - the path
Returns:
the string

removeFile

public String removeFile(String path)
Removes the file.

Parameters:
path - the path
Returns:
the string

quitShell

public org.springframework.shell.core.ExitShellRequest quitShell()
Quit shell.

Returns:
the exit shell request


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.