|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 empty| Method Detail |
|---|
public void displayError(String activity,
Throwable t)
displayError in interface UserInterfaceactivity - the activity; may not be null but may be emptyt - the exception; may not be nullpublic String getLocationOfRepositoryFiles()
getLocationOfRepositoryFiles in interface UserInterfaceUserInterface.getLocationOfRepositoryFiles()public File getRepositoryConfiguration()
getRepositoryConfiguration in interface UserInterfaceUserInterface.getRepositoryConfiguration()public String getLocationOfCndFiles()
getLocationOfCndFiles in interface UserInterfaceUserInterface.getLocationOfCndFiles()public CallbackHandler getCallbackHandler()
getCallbackHandler in interface UserInterfaceUserInterface.getCallbackHandler()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||