public interface PackageTypeBehavior
| Modifier and Type | Method and Description |
|---|---|
Comparator<org.rhq.core.domain.content.PackageVersion> |
getPackageVersionComparator(String packageTypeName)
This comparator will be used to determine the latest version of a package.
|
org.rhq.core.domain.content.PackageVersionFormatDescription |
getPackageVersionFormat(String packageTypeName)
Description of the package version format mandated by the package type.
|
void |
validateDetails(org.rhq.core.domain.content.ValidatablePackageDetailsKey key,
org.rhq.core.domain.auth.Subject origin)
Validate the package before it gets stored.
|
void validateDetails(org.rhq.core.domain.content.ValidatablePackageDetailsKey key,
org.rhq.core.domain.auth.Subject origin)
throws PackageDetailsValidationException
key - the package details keyorigin - who is uploading the packagePackageDetailsValidationExceptionComparator<org.rhq.core.domain.content.PackageVersion> getPackageVersionComparator(String packageTypeName)
comparator.compare(older, younger)
packageTypeName - the name of the package typePackageVersion.DEFAULT_COMPARATOR should be used.org.rhq.core.domain.content.PackageVersionFormatDescription getPackageVersionFormat(String packageTypeName)
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.