예제 #1
0
 private boolean promptToFixMethod(
     UIExecutionContext context, String methodName, String propertyName) {
   UIPrompt prompt = context.getPrompt();
   return prompt.promptBoolean(
       "Method '"
           + methodName
           + "'already exists for property"
           + propertyName
           + " . Method is not following the selected pattern."
           + " Should it be fixed?");
 }
예제 #2
0
 @Command(value = "wait", help = "Wait for ENTER.", enabled = NonGUIEnabledPredicate.class)
 public void wait(UIPrompt prompt) {
   prompt.prompt("Press <ENTER> to continue...");
 }