org.apache.tools.ant.taskdefs.optional.perforce
public class P4Labelsync extends P4Base
<p4labelsync name="MyLabel-${TSTAMP}-${DSTAMP}" view="//depot/...#head;//depot2/file1#25" />
UNKNOWN: category="scm"
Field Summary | |
---|---|
protected String | name |
Method Summary | |
---|---|
void | execute()
do the work |
boolean | isAdd()
-a flag of p4 labelsync - preserve files which exist in the label,
but not in the current view |
boolean | isDelete()
-d flag of p4 labelsync; indicates an intention of deleting from the label
the files specified in the view |
boolean | isSimulationmode()
-n flag of p4 labelsync - display changes without actually doing them |
void | setAdd(boolean add)
-a flag of p4 labelsync - preserve files which exist in the label,
but not in the current view |
void | setDelete(boolean delete)
-d flag of p4 labelsync; indicates an intention of deleting from the label
the files specified in the view |
void | setName(String name)
The name of the label; optional, default "AntLabel" |
void | setSimulationmode(boolean simulationmode)
-n flag of p4 labelsync - display changes without actually doing them |
Throws: BuildException if the label name is not supplied
Returns: add attribute if set to true the task will not remove any files from the label only add files which were not there previously or update these where the revision has changed the add attribute is the -a flag of p4 labelsync
Returns: delete attribute
Returns: -n flag of p4 labelsync
Parameters: add if set to true the task will not remove any files from the label only add files which were not there previously or update these where the revision has changed the add attribute is the -a flag of p4 labelsync
Parameters: delete indicates intention of deleting from the label the files specified in the view
Parameters: name of the label
Parameters: simulationmode display changes without actually doing them