1. /*
  2. * Copyright 2002-2004 The Apache Software Foundation
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. *
  16. */
  17. package org.apache.tools.ant.taskdefs.optional.sos;
  18. /**
  19. * Interface to hold constants used by the SOS tasks
  20. *
  21. */
  22. public interface SOSCmd {
  23. // soscmd Command options
  24. String COMMAND_SOS_EXE = "soscmd";
  25. String COMMAND_GET_FILE = "GetFile";
  26. String COMMAND_GET_PROJECT = "GetProject";
  27. String COMMAND_CHECKOUT_FILE = "CheckOutFile";
  28. String COMMAND_CHECKOUT_PROJECT = "CheckOutProject";
  29. String COMMAND_CHECKIN_FILE = "CheckInFile";
  30. String COMMAND_CHECKIN_PROJECT = "CheckInProject";
  31. String COMMAND_HISTORY = "GetFileHistory";
  32. String COMMAND_LABEL = "AddLabel";
  33. String PROJECT_PREFIX = "$";
  34. // soscmd Option flags
  35. String FLAG_COMMAND = "-command";
  36. String FLAG_VSS_SERVER = "-database";
  37. String FLAG_USERNAME = "-name";
  38. String FLAG_PASSWORD = "-password";
  39. String FLAG_COMMENT = "-log";
  40. String FLAG_WORKING_DIR = "-workdir";
  41. String FLAG_RECURSION = "-recursive";
  42. String FLAG_VERSION = "-revision";
  43. String FLAG_LABEL = "-label";
  44. String FLAG_NO_COMPRESSION = "-nocompress";
  45. String FLAG_NO_CACHE = "-nocache";
  46. String FLAG_SOS_SERVER = "-server";
  47. String FLAG_SOS_HOME = "-soshome";
  48. String FLAG_PROJECT = "-project";
  49. String FLAG_FILE = "-file";
  50. String FLAG_VERBOSE = "-verbose";
  51. }