public interface ILabelSummary extends IServerResource
ILabelSummary objects are complete and neither refreshable nor updateable.
See the main Perforce documentation for label usage and semantics.
Modifier and Type | Method and Description |
---|---|
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.
|
canRefresh, canUpdate, refresh, setServer, update, update, update
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()
Copyright © 2017 Perforce Software. All Rights Reserved.