1 11 package com.sun.jdi.connect; 12 13 14 import java.io.Serializable ; 15 import java.util.List ; 16 import java.util.Map ; 17 18 public interface Connector { 19 public Map defaultArguments(); 20 public String description(); 21 public String name(); 22 public Transport transport(); 23 24 public interface Argument extends Serializable { 25 public String description(); 26 public boolean isValid(String arg1); 27 public String label(); 28 public boolean mustSpecify(); 29 public String name(); 30 public void setValue(String arg1); 31 public String value(); 32 } 33 34 public interface StringArgument extends Connector.Argument { 35 public boolean isValid(String arg1); 36 } 37 38 public interface IntegerArgument extends Connector.Argument { 39 public int intValue(); 40 public boolean isValid(int arg1); 41 public boolean isValid(String arg1); 42 public int max(); 43 public int min(); 44 public void setValue(int arg1); 45 public String stringValueOf(int arg1); 46 } 47 48 public interface BooleanArgument extends Connector.Argument { 49 public boolean booleanValue(); 50 public boolean isValid(String arg1); 51 public void setValue(boolean arg1); 52 public String stringValueOf(boolean arg1); 53 } 54 55 public interface SelectedArgument extends Connector.Argument { 56 public List choices(); 57 public boolean isValid(String arg1); 58 } 59 } 60 | Popular Tags |