public static interface PackageDefinitionStrategy.Definition
Modifier and Type | Interface and Description |
---|---|
static class |
PackageDefinitionStrategy.Definition.Simple
A simple package definition where any property is represented by a value.
|
static class |
PackageDefinitionStrategy.Definition.Trivial
A package definer that defines packages without any meta data.
|
static class |
PackageDefinitionStrategy.Definition.Undefined
A canonical implementation of an undefined package.
|
Modifier and Type | Method and Description |
---|---|
String |
getImplementationTitle()
Returns the package implementation's title or
null if no such title exists. |
String |
getImplementationVendor()
Returns the package implementation's vendor or
null if no such vendor exists. |
String |
getImplementationVersion()
Returns the package implementation's version or
null if no such version exists. |
URL |
getSealBase()
The URL representing the seal base.
|
String |
getSpecificationTitle()
Returns the package specification's title or
null if no such title exists. |
String |
getSpecificationVendor()
Returns the package specification's vendor or
null if no such vendor exists. |
String |
getSpecificationVersion()
Returns the package specification's version or
null if no such version exists. |
boolean |
isCompatibleTo(Package definedPackage)
Validates that this package definition is compatible to a previously defined package.
|
boolean |
isDefined()
Indicates if a package should be defined at all.
|
boolean isDefined()
true
if the package is to be defined.String getSpecificationTitle()
null
if no such title exists. This method must only be called
for defined package definitions.String getSpecificationVersion()
null
if no such version exists. This method must only be called
for defined package definitions.String getSpecificationVendor()
null
if no such vendor exists. This method must only be called
for defined package definitions.String getImplementationTitle()
null
if no such title exists. This method must only be called
for defined package definitions.String getImplementationVersion()
null
if no such version exists. This method must only be called
for defined package definitions.String getImplementationVendor()
null
if no such vendor exists. This method must only be called
for defined package definitions.URL getSealBase()
boolean isCompatibleTo(Package definedPackage)
definedPackage
- The previously defined package.false
if this package and the defined package's sealing information are not compatible.Copyright © 2014–2015. All rights reserved.