/** * This needs to be public to allow configuration * of commands externally. * * @param arg command argument */ public void addCommandArgument(String arg) { this.addCommandArgument(cmd, arg); }
/** * This needs to be public to allow configuration * of commands externally. * * @param arg command argument */ public void addCommandArgument(String arg) { this.addCommandArgument(cmd, arg); }
/** * Use the most recent revision no later than the given date. * * @param p a date as string in a format that the CVS executable can understand * see man cvs */ public void setDate(String p) { if (p != null && p.trim().length() > 0) { addCommandArgument("-D"); addCommandArgument(p); } }
/** * Use the most recent revision no later than the given date. * * @param p a date as string in a format that the CVS executable can understand * see man cvs */ public void setDate(String p) { if (p != null && p.trim().length() > 0) { addCommandArgument("-D"); addCommandArgument(p); } }
/** * The tag of the package/module to operate upon. * * @param p tag */ public void setTag(String p) { // Check if not real tag => set it to null if (p != null && p.trim().length() > 0) { tag = p; addCommandArgument("-r" + p); } }
/** * The tag of the package/module to operate upon. * * @param p tag */ public void setTag(String p) { // Check if not real tag => set it to null if (p != null && p.trim().length() > 0) { tag = p; addCommandArgument("-r" + p); } }