com.tek42.perforce.parse
Class Labels
java.lang.Object
com.tek42.perforce.parse.AbstractPerforceTemplate
com.tek42.perforce.parse.Labels
public class Labels
- extends AbstractPerforceTemplate
Base API object for interacting with labels.
- Author:
- Mike Wille
| Methods inherited from class com.tek42.perforce.parse.AbstractPerforceTemplate |
getExtraParams, getLogger, getP4Exe, getPerforceResponse, getPerforceResponse, getRawPerforceResponseBytes, getRawPerforceResponseLines, hitMax, login, parseList, saveToPerforce |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Labels
public Labels(Depot depot)
saveLabel
public void saveLabel(Label label)
throws PerforceException
- Handles both creating and saving labels.
- Parameters:
label -
- Throws:
PerforceException
getLabels
public List<Label> getLabels(String path)
throws PerforceException
- Returns a list of labels in the system. Optionally, you can specify a path argument to return only labels that
contain the specified path.
- Parameters:
path -
- Returns:
-
- Throws:
PerforceException
getLabel
public Label getLabel(String name)
throws PerforceException
- Returns a label specified by name.
- Parameters:
name -
- Returns:
-
- Throws:
PerforceException
Copyright © 2004-2013 Hudson. All Rights Reserved.