public interface IBranchSpecSummary extends IServerResource
In general, branch summary information excludes the branch view, and no server-side operations can be performed against them; for full branch functionality you should use the full IBranchSpec interface.
Branch summaries are complete and not refreshable or updateable.
Modifier and Type | Method and Description |
---|---|
Date |
getAccessed()
Get the date of the last 'integrate' using this branch.
|
String |
getDescription()
Get the branch's description (if any).
|
String |
getName()
Get the name of this branch.
|
String |
getOwnerName()
Get the name of the user who created this branch.
|
Date |
getUpdated()
Get the date specification was last modified.
|
boolean |
isLocked()
Return true if the branch spec is locked.
|
void |
setAccessed(Date accessed)
Set the last-accessed date.
|
void |
setDescription(String description)
Set the branch spec description.
|
void |
setLocked(boolean locked)
Set whether the branch spec is locked or not.
|
void |
setName(String name)
Set the name of this branch.
|
void |
setOwnerName(String ownerName)
Set the owner's name for this branch.
|
void |
setUpdated(Date updated)
Set the last-updated date.
|
canRefresh, canUpdate, refresh, setServer, update, update, update
String getName()
String getOwnerName()
Date getUpdated()
Date getAccessed()
String getDescription()
boolean isLocked()
void setName(String name)
name
- new branch spec namevoid setOwnerName(String ownerName)
ownerName
- new owner's namevoid setUpdated(Date updated)
updated
- new updated date.void setAccessed(Date accessed)
accessed
- new accessed date.void setDescription(String description)
description
- new description string.void setLocked(boolean locked)
locked
- boolean lock statusCopyright © 2017 Perforce Software. All Rights Reserved.