|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.example.dna.repository.ConsoleInput
public class ConsoleInput
Constructor Summary | |
---|---|
ConsoleInput(RepositoryClient client,
String[] args)
Construct the console input and prompt for user input to interact with the RepositoryClient. |
Method Summary | |
---|---|
void |
displayError(String activity,
Throwable t)
Display the supplied error that happened during the activity. |
CallbackHandler |
getCallbackHandler()
|
String |
getLocationOfCndFiles()
|
String |
getLocationOfRepositoryFiles()
|
File |
getRepositoryConfiguration()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsoleInput(RepositoryClient client, String[] args)
client
- the client that should be used; may not be nullargs
- the command-line arguments; may not be null but may be emptyMethod Detail |
---|
public void displayError(String activity, Throwable t)
displayError
in interface UserInterface
activity
- the activity; may not be null but may be emptyt
- the exception; may not be nullpublic String getLocationOfRepositoryFiles()
getLocationOfRepositoryFiles
in interface UserInterface
UserInterface.getLocationOfRepositoryFiles()
public File getRepositoryConfiguration()
getRepositoryConfiguration
in interface UserInterface
UserInterface.getRepositoryConfiguration()
public String getLocationOfCndFiles()
getLocationOfCndFiles
in interface UserInterface
UserInterface.getLocationOfCndFiles()
public CallbackHandler getCallbackHandler()
getCallbackHandler
in interface UserInterface
UserInterface.getCallbackHandler()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |