1 19 20 23 24 package org.netbeans.modules.j2ee.sun.ws7.j2ee; 25 import javax.enterprise.deploy.shared.CommandType ; 26 27 33 public class WS70CommandType extends CommandType { 34 37 public static final WS70CommandType DISTRIBUTE = new WS70CommandType(0); 38 41 public static final WS70CommandType START = new WS70CommandType(1); 42 45 public static final WS70CommandType STOP = new WS70CommandType(2); 46 49 public static final WS70CommandType UNDEPLOY = new WS70CommandType(3); 50 53 public static final WS70CommandType REDEPLOY = new WS70CommandType(4); 54 55 public static final WS70CommandType STARTTARGET = new WS70CommandType(11); 56 public static final WS70CommandType STOPTARGET = new WS70CommandType(12); 57 public static final WS70CommandType STARTTARGETDEBUG = new WS70CommandType(13); 58 59 private static final CommandType [] enumValueTable = new CommandType []{ 60 DISTRIBUTE, 61 START, 62 STOP, 63 UNDEPLOY, 64 REDEPLOY, 65 STARTTARGET, 66 STOPTARGET, 67 STARTTARGETDEBUG 68 }; 69 70 private static final String [] stringTable = new String []{ 71 "distribute", 72 "start", 73 "stop", 74 "undeploy", 75 "redeploy", 76 "starttarget", 77 "stoptarget", 78 "starttargetdebug" 79 }; 80 private int value; 81 protected WS70CommandType(int value){ 82 super(value); 83 this.value = value; 84 } 85 } 86 | Popular Tags |