Package com.google.gerrit.server.schema
Interface UpdateUI
- 
 public interface UpdateUI
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisBatch()voidmessage(String message)voidpruneSchema(com.google.gwtorm.server.StatementExecutor e, List<String> pruneList)StringreadString(String defaultValue, Set<String> allowedValues, String message)Prompts the user for a string, suggesting a default.voidwaitForUser()Prints a message asking the user to let us know when it's safe to continue.booleanyesno(boolean defaultValue, String message)Requests the user to answer a yes/no question.
 
- 
- 
- 
Method Detail- 
messagevoid message(String message) 
 - 
yesnoboolean yesno(boolean defaultValue, String message)Requests the user to answer a yes/no question.
 - 
waitForUservoid waitForUser() Prints a message asking the user to let us know when it's safe to continue.
 - 
readStringString readString(String defaultValue, Set<String> allowedValues, String message) Prompts the user for a string, suggesting a default.- Returns:
- the chosen string from the list of allowed values.
 
 - 
isBatchboolean isBatch() 
 
- 
 
-