public class LabelSummary extends ServerResource implements ILabelSummary
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
autoreload |
protected static String |
AUTORELOAD_VALUE |
protected String |
description |
protected Date |
lastAccess |
protected Date |
lastUpdate |
protected boolean |
locked |
protected static String |
LOCKED_VALUE |
protected String |
name |
protected static String |
NOAUTORELOAD_VALUE |
protected String |
ownerName |
protected String |
revisionSpec |
protected boolean |
unloaded |
protected static String |
UNLOCKED_VALUE |
refreshable, server, updateable| Constructor and Description |
|---|
LabelSummary()
Default constructor -- set all fields to null or false.
|
LabelSummary(boolean summaryOnly)
Construct an empty LabelSummary and appropriately initialize
the ServerResource superclass fields according to whether this
summary a summary only or part of the full Label class.
|
LabelSummary(Map<String,Object> map)
Construct a LabelSummary from a map returned from the Perforce server's
getLabelSummaryList.
|
| 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, complete, refresh, setRefreshable, setServer, update, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanRefresh, canUpdate, refresh, setServer, update, update, updateprotected static final String LOCKED_VALUE
protected static final String UNLOCKED_VALUE
protected static final String AUTORELOAD_VALUE
protected static final String NOAUTORELOAD_VALUE
protected String name
protected String ownerName
protected Date lastAccess
protected Date lastUpdate
protected String description
protected String revisionSpec
protected boolean locked
protected boolean unloaded
protected boolean autoreload
public LabelSummary()
public LabelSummary(boolean summaryOnly)
public String getName()
ILabelSummarygetName in interface ILabelSummaryILabelSummary.getName()public void setName(String name)
ILabelSummarysetName in interface ILabelSummaryname - the label's (new) name.ILabelSummary.setName(java.lang.String)public String getOwnerName()
ILabelSummarygetOwnerName in interface ILabelSummaryILabelSummary.getOwnerName()public void setOwnerName(String ownerName)
ILabelSummarysetOwnerName in interface ILabelSummaryownerName - the new owner name.ILabelSummary.setOwnerName(java.lang.String)public Date getLastAccess()
ILabelSummarygetLastAccess in interface ILabelSummaryILabelSummary.getLastAccess()public void setLastAccess(Date lastAccess)
ILabelSummarysetLastAccess in interface ILabelSummarylastAccess - new last access date.ILabelSummary.setLastAccess(java.util.Date)public Date getLastUpdate()
ILabelSummarygetLastUpdate in interface ILabelSummaryILabelSummary.getLastUpdate()public void setLastUpdate(Date lastUpdate)
ILabelSummarysetLastUpdate in interface ILabelSummarylastUpdate - Date last updated.ILabelSummary.setLastUpdate(java.util.Date)public String getDescription()
ILabelSummarygetDescription in interface ILabelSummaryILabelSummary.getDescription()public void setDescription(String description)
ILabelSummarysetDescription in interface ILabelSummarydescription - new label description string.ILabelSummary.setDescription(java.lang.String)public String getRevisionSpec()
ILabelSummarygetRevisionSpec in interface ILabelSummaryILabelSummary.getRevisionSpec()public void setRevisionSpec(String revisionSpec)
ILabelSummarysetRevisionSpec in interface ILabelSummaryrevisionSpec - new revision spec stringILabelSummary.setRevisionSpec(java.lang.String)public boolean isLocked()
ILabelSummaryisLocked in interface ILabelSummaryILabelSummary.isLocked()public void setLocked(boolean locked)
ILabelSummarysetLocked in interface ILabelSummarylocked - true iff the label is locked else it is unlocked.ILabelSummary.setLocked(boolean)public boolean isAutoReload()
ILabelSummaryisAutoReload in interface ILabelSummaryILabelSummary.isAutoReload()public void setAutoReload(boolean autoreload)
ILabelSummarysetAutoReload in interface ILabelSummaryautoreload - true iff the label is "autoreload" else it is "noautoreload".ILabelSummary.setAutoReload(boolean)public boolean isUnloaded()
ILabelSummaryisUnloaded in interface ILabelSummaryILabelSummary.isUnloaded()Copyright © 2017 Perforce Software. All Rights Reserved.