Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.sos

public Class SOSLabel

extends SOS
Class Inheritance
Imports
org.apache.tools.ant.BuildException, org.apache.tools.ant.types.Commandline

Labels Visual SourceSafe files via a SourceOffSite server.

Field Summary

Inherited from org.apache.tools.ant.taskdefs.optional.sos.SOS:
commandLine

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Commandline

Returns:

Commandline the generated command to be executed
buildCmdLine
()

Implements abstract org.apache.tools.ant.taskdefs.optional.sos.SOS.buildCmdLine.

Build the command line

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

public void
setComment(String
The new comment value
comment
)

The comment to apply to all files being labelled.

public void
setLabel(String
The new label value
label
)

The label to apply the the files in SourceSafe.

public void
setVersion(String
The new version value
version
)

The version number to label.

Inherited from org.apache.tools.ant.taskdefs.optional.sos.SOS:
executegetCommentgetFilenamegetLabelgetLocalPathgetNoCachegetNoCompressgetOptionalAttributesgetPasswordgetProjectPathgetRecursivegetRequiredAttributesgetSosCommandgetSosHomegetSosServerPathgetUsernamegetVerbosegetVersiongetVssServerPathrunsetInternalCommentsetInternalFilenamesetInternalLabelsetInternalRecursivesetInternalVersionsetLocalPathsetNoCachesetNoCompresssetPasswordsetProjectPathsetSosCmdsetSosHomesetSosServerPathsetUsernamesetVerbosesetVssServerPath

Constructor Detail

SOSLabelback to summary
public SOSLabel()

Method Detail

buildCmdLineback to summary
protected Commandline buildCmdLine()

Implements abstract org.apache.tools.ant.taskdefs.optional.sos.SOS.buildCmdLine.

Build the command line

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

Returns:Commandline

Commandline the generated command to be executed

Annotations
@Override
setCommentback to summary
public void setComment(String comment)

The comment to apply to all files being labelled.

Parameters
comment:String

The new comment value

setLabelback to summary
public void setLabel(String label)

The label to apply the the files in SourceSafe.

Parameters
label:String

The new label value

setVersionback to summary
public void setVersion(String version)

The version number to label.

Parameters
version:String

The new version value