org.apache.tools.ant.taskdefs.optional.sos

Class SOSLabel

  • All Implemented Interfaces:
    java.lang.Cloneable, SOSCmd


    public class SOSLabel
    extends SOS
    Labels Visual SourceSafe files via a SourceOffSite server.
    • Constructor Detail

      • SOSLabel

        public SOSLabel()
    • Method Detail

      • setVersion

        public void setVersion(java.lang.String version)
        The version number to label.
        Parameters:
        version - The new version value
      • setLabel

        public void setLabel(java.lang.String label)
        The label to apply the the files in SourceSafe.
        Parameters:
        label - The new label value
      • setComment

        public void setComment(java.lang.String comment)
        The comment to apply to all files being labelled.
        Parameters:
        comment - The new comment value
      • buildCmdLine

        protected Commandline buildCmdLine()
        Build the command line

        AddLabel required parameters: -server -name -password -database -project -label
        AddLabel optional parameters: -verbose -comment

        Returns:
        Commandline the generated command to be executed