public interface PackageVersion
Modifier and Type | Method and Description |
---|---|
void |
activateCustomEvent(String customEventName)
Deprecated.
since 5.0.39 - no replacement
|
void |
addDependentPackage(Package dependentPackage)
Adds a dependent package to this version.
|
void |
addPublishGroup(PublishGroup group)
Adds the given PublishGroup to the Set of
publish groups this PackageVersion is published for.
|
void |
deactivateCustomEvent(String customEventName)
Deprecated.
since 5.0.39 - no replacement
|
Set<String> |
getActivatedCustomEvents()
Deprecated.
since 5.0.39 - no replacement
|
String |
getComment()
Returns the comment of this PackageVersion.
|
Calendar |
getCreationDate()
Returns the date when this PackageVersion
was created.
|
Set<Package> |
getDependentPackages()
Provides a set of all dependent packages of this version.
|
Set<PublishGroup> |
getPublishGroups()
Returns a read-only Set of
PublishGroup 's
this PackageVersion is published for. |
String |
getTag()
Returns the user defined version TAG.
|
int |
getVersion()
Returns the version of this PackageVersion.
|
boolean |
isUpdate()
Indicates whether this package version is an update version or not.
|
void |
removeDependentPackage(Package packageToRemove)
Removes a dependent package from this version.
|
void |
removePublishGroup(PublishGroup group)
Removes the given PublishGroup from the Set of
publish groups this PackageVersion is published for
|
void |
setComment(String comment)
Sets the comment of this PackageVersion.
|
void |
setTag(String tag)
Sets the user defined version TAG of this
package version.
|
int getVersion()
String getTag()
void setTag(String tag)
tag
- String getComment()
void setComment(String comment)
comment
- the comment Stringboolean isUpdate()
true
if this package version is an update version, false
otherwise.Calendar getCreationDate()
Set<PublishGroup> getPublishGroups()
PublishGroup
's
this PackageVersion is published for.PublishGroup
'svoid addPublishGroup(PublishGroup group)
group
- the PublishGroup to addvoid removePublishGroup(PublishGroup group)
group
- the PublishGroup to remove@Deprecated Set<String> getActivatedCustomEvents()
@Deprecated void activateCustomEvent(String customEventName)
customEventName
- A name.@Deprecated void deactivateCustomEvent(String customEventName)
customEventName
- A name.void addDependentPackage(Package dependentPackage)
dependentPackage
- A package.void removeDependentPackage(Package packageToRemove)
packageToRemove
- A package.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210