1 12 package org.eclipse.team.internal.ccvs.core; 13 14 20 public interface IUserAuthenticator { 21 22 25 public int OK_ID = 0; 26 27 30 public int CANCEL_ID = 1; 31 32 35 public int YES_ID = 2; 36 37 40 public int NO_ID = 3; 41 42 45 public final static int NONE = 0; 46 47 50 public final static int ERROR = 1; 51 52 55 public final static int INFORMATION = 2; 56 57 60 public final static int QUESTION = 3; 61 62 65 public final static int WARNING = 4; 66 67 82 public void promptForUserInfo(ICVSRepositoryLocation location, IUserInfo userInfo, String message) throws CVSException; 83 84 100 public String [] promptForKeyboradInteractive(ICVSRepositoryLocation location, String destination, String name, String instruction, String [] prompt, boolean[] echo) throws CVSException; 101 102 125 public int prompt(ICVSRepositoryLocation location, int promptType, String title, String message, int[] promptResponses, int defaultResponseIndex); 126 127 132 public boolean promptForHostKeyChange(ICVSRepositoryLocation location); 133 } 134 | Popular Tags |