public class Updates extends ExtensionPoint
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
AbstractExtension.AttributesHandler
xmlBlob
localName, namespace
Constructor and Description |
---|
Updates()
Default mutable constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addBlockedOnUpdate(BlockedOnUpdate blockedOnUpdate)
Adds a new blocked on update.
|
void |
addCcUpdate(CcUpdate ccUpdate)
Adds a new cc update.
|
void |
addLabel(Label label)
Adds a new label.
|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
|
java.util.List<BlockedOnUpdate> |
getBlockedOnUpdates()
Returns the blocked on updates.
|
java.util.List<CcUpdate> |
getCcUpdates()
Returns the cc updates.
|
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
|
java.util.List<Label> |
getLabels()
Returns the labels.
|
MergedIntoUpdate |
getMergedIntoUpdate()
Returns the merged into update.
|
OwnerUpdate |
getOwnerUpdate()
Returns the owner update.
|
Status |
getStatus()
Returns the status.
|
Summary |
getSummary()
Returns the summary.
|
boolean |
hasBlockedOnUpdates()
Returns whether it has the blocked on updates.
|
boolean |
hasCcUpdates()
Returns whether it has the cc updates.
|
boolean |
hasLabels()
Returns whether it has the labels.
|
boolean |
hasMergedIntoUpdate()
Returns whether it has the merged into update.
|
boolean |
hasOwnerUpdate()
Returns whether it has the owner update.
|
boolean |
hasStatus()
Returns whether it has the status.
|
boolean |
hasSummary()
Returns whether it has the summary.
|
void |
setMergedIntoUpdate(MergedIntoUpdate mergedIntoUpdate)
Sets the merged into update.
|
void |
setOwnerUpdate(OwnerUpdate ownerUpdate)
Sets the owner update.
|
void |
setStatus(Status status)
Sets the status.
|
void |
setSummary(Summary summary)
Sets the summary.
|
java.lang.String |
toString() |
protected void |
validate()
Checks the attributes to see if there are any problems.
|
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getHandler, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild, visitChildren
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.public java.util.List<BlockedOnUpdate> getBlockedOnUpdates()
public void addBlockedOnUpdate(BlockedOnUpdate blockedOnUpdate)
blockedOnUpdate
- blocked on updatepublic boolean hasBlockedOnUpdates()
public java.util.List<CcUpdate> getCcUpdates()
public void addCcUpdate(CcUpdate ccUpdate)
ccUpdate
- cc updatepublic boolean hasCcUpdates()
public java.util.List<Label> getLabels()
public void addLabel(Label label)
label
- labelpublic boolean hasLabels()
public MergedIntoUpdate getMergedIntoUpdate()
public void setMergedIntoUpdate(MergedIntoUpdate mergedIntoUpdate)
mergedIntoUpdate
- merged into update or null
to resetpublic boolean hasMergedIntoUpdate()
public OwnerUpdate getOwnerUpdate()
public void setOwnerUpdate(OwnerUpdate ownerUpdate)
ownerUpdate
- owner update or null
to resetpublic boolean hasOwnerUpdate()
public Status getStatus()
public void setStatus(Status status)
status
- status or null
to resetpublic boolean hasStatus()
public Summary getSummary()
public void setSummary(Summary summary)
summary
- summary or null
to resetpublic boolean hasSummary()
protected void validate()
AbstractExtension
validate
in class AbstractExtension
public static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required
- whether it is requiredrepeatable
- whether it is repeatablepublic java.lang.String toString()
toString
in class java.lang.Object