com.tek42.perforce.parse
Class Groups
java.lang.Object
com.tek42.perforce.parse.AbstractPerforceTemplate
com.tek42.perforce.parse.Groups
public class Groups
- extends AbstractPerforceTemplate
Object for working with perforce groups.
- Author:
- Mike
Date: Jul 21, 2008 3:38:25 PM
| 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 |
Groups
public Groups(Depot depot)
getGroup
public Group getGroup(String name)
throws PerforceException
- Retrieves a single group specified by name.
- Parameters:
name - The name of the group to retrieve.
- Returns:
- A valid perforce group.
- Throws:
PerforceException - If there is a problem or the group was not found.
saveGroup
public void saveGroup(Group group)
throws PerforceException
- Saves changes to an existing group, or creates a new one.
- Parameters:
group - The group to save.
- Throws:
PerforceException - When there is a problem.
getGroups
public List<Group> getGroups()
throws PerforceException
- Retrieves all groups in the perforce server.
- Returns:
- A List of groups
- Throws:
PerforceException - when there is a problem.
Copyright © 2004-2013 Hudson. All Rights Reserved.