|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBranchSpecSummary
Defines the summary Perforce branch metadata typically returned by the getBranchSummaryList() method, corresponding to "p4 branches" and similar.
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.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.perforce.p4java.core.IServerResource |
---|
canRefresh, canUpdate, refresh, setServer, update, update, update |
Method Detail |
---|
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 status
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |