|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILabelSummary
Defines summary information for Perforce labels. Label summary objects contain the summary field information returned by (e.g.) the "p4 labels" command (which does not include the label view), and do not support server-side operations against them. For the full Perforce label object functionality, see ILabel, which extends this interface.
ILabelSummary objects are complete and neither refreshable nor updateable.
See the main Perforce documentation for label usage and semantics.
Method Summary | |
---|---|
String |
getDescription()
Get the description associated with this label. |
Date |
getLastAccess()
Get the date and time of the last 'labelsync' or use of '@label' on this label. |
Date |
getLastUpdate()
Get the date and time the label specification was last updated. |
String |
getName()
Get the label's name (the label's label, so to speak). |
String |
getOwnerName()
Get the name of the owner of this label. |
String |
getRevisionSpec()
Get the optional revision specification for this label. |
boolean |
isAutoReload()
Return the "autoreload/noautoreload" status for this label. |
boolean |
isLocked()
Return the "locked/unlocked" status for this label. |
boolean |
isUnloaded()
Return the "unloaded" status for this label. |
void |
setAutoReload(boolean autoreload)
Set the "autoreload/noautoreload" status for this label. |
void |
setDescription(String description)
Set the description associated with this label. |
void |
setLastAccess(Date lastAccess)
Set the date and time of the last 'labelsync' or use of '@label' on this label. |
void |
setLastUpdate(Date lastUpdate)
Set the date and time the label specification was last updated. |
void |
setLocked(boolean locked)
Set the "locked/unlocked" status for this label. |
void |
setName(String name)
Set the label's name. |
void |
setOwnerName(String ownerName)
Set the name of the owner of this label. |
void |
setRevisionSpec(String revisionSpec)
Set the optional revision specification for this label. |
Methods inherited from interface com.perforce.p4java.core.IServerResource |
---|
canRefresh, canUpdate, refresh, setServer, update, update, update |
Method Detail |
---|
String getName()
void setName(String name)
name
- the label's (new) name.String getOwnerName()
void setOwnerName(String ownerName)
ownerName
- the new owner name.Date getLastUpdate()
void setLastUpdate(Date lastUpdate)
lastUpdate
- Date last updated.Date getLastAccess()
void setLastAccess(Date lastAccess)
lastAccess
- new last access date.String getDescription()
void setDescription(String description)
description
- new label description string.boolean isLocked()
void setLocked(boolean locked)
locked
- true iff the label is locked else it is unlocked.boolean isAutoReload()
void setAutoReload(boolean autoreload)
autoreload
- true iff the label is "autoreload" else it is "noautoreload".String getRevisionSpec()
void setRevisionSpec(String revisionSpec)
revisionSpec
- new revision spec stringboolean isUnloaded()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |