org.jboss.example.dna.repository
Class ConsoleInput

java.lang.Object
  extended by org.jboss.example.dna.repository.ConsoleInput
All Implemented Interfaces:
UserInterface

public class ConsoleInput
extends Object
implements UserInterface

Author:
Randall Hauch

Constructor Summary
ConsoleInput(RepositoryClient client, String[] args)
          Construct the console input and prompt for user input to interact with the RepositoryClient.
 
Method Summary
 CallbackHandler getCallbackHandler()
          
 String getLocationOfRepositoryFiles()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleInput

public ConsoleInput(RepositoryClient client,
                    String[] args)
Construct the console input and prompt for user input to interact with the RepositoryClient.

Parameters:
client - the client that should be used; may not be null
args - the command-line arguments; may not be null but may be empty
Method Detail

getLocationOfRepositoryFiles

public String getLocationOfRepositoryFiles()

Specified by:
getLocationOfRepositoryFiles in interface UserInterface
See Also:
UserInterface.getLocationOfRepositoryFiles()

getCallbackHandler

public CallbackHandler getCallbackHandler()

Specified by:
getCallbackHandler in interface UserInterface
See Also:
UserInterface.getCallbackHandler()


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.