1 18 19 20 package sync4j.framework.core; 21 22 29 public final class Exec 30 extends ModificationCommand 31 implements java.io.Serializable { 32 33 public static String COMMAND_NAME = "Exec"; 35 36 38 protected Exec() {} 39 40 50 public Exec(final CmdID cmdID, 51 final boolean noResp, 52 final Cred cred, 53 final Item item) { 54 super(cmdID, new Item[] { item }); 55 56 this.noResp = (noResp) ? new Boolean (noResp) : null; 57 setCred(cred); 58 } 59 60 66 public String getName() { 67 return Exec.COMMAND_NAME; 68 } 69 70 75 public Item getItem() { 76 return (Item)items.get(0); 77 } 78 } 79 | Popular Tags |