-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code cleanup to remove dependency to plexus-utils
Closes #52
- Loading branch information
1 parent
9e9d267
commit 1bb7afb
Showing
11 changed files
with
5 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,12 +29,10 @@ | |
|
||
/** | ||
* Manage user input from different sources. | ||
* | ||
* TODO should this also echo any prompts before the input? | ||
* TODO should this validate the input, reprompt if required? | ||
* TODO readBoolean, readInt, readSingleChar - readLine's that parse the input | ||
* @author <a href="mailto:[email protected]">Brett Porter</a> | ||
* @version $Id$ | ||
*/ | ||
public interface InputHandler { | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,6 @@ | |
* Manage user output to different sources. | ||
* | ||
* @author <a href="mailto:[email protected]">Brett Porter</a> | ||
* @version $Id$ | ||
*/ | ||
public interface OutputHandler { | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,6 @@ | |
* Prompt the user for input. | ||
* | ||
* @author <a href="mailto:[email protected]">Brett Porter</a> | ||
* @version $Id$ | ||
*/ | ||
public interface Prompter { | ||
String prompt(String message) throws PrompterException; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,6 @@ | |
* Error while prompting. | ||
* | ||
* @author <a href="mailto:[email protected]">Brett Porter</a> | ||
* @version $Id$ | ||
*/ | ||
public class PrompterException extends Exception { | ||
public PrompterException(String message) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters