Package org.jboss.modules
Class PackageSpec
- java.lang.Object
-
- org.jboss.modules.PackageSpec
-
public final class PackageSpec extends java.lang.Object
A specification for a package to define.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description PackageSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssertionSetting
getAssertionSetting()
Get the package assertion setting.java.lang.String
getImplTitle()
Get the implementation title.java.lang.String
getImplVendor()
Get the implementation vendor.java.lang.String
getImplVersion()
Get the implementation version.java.net.URL
getSealBase()
Get the URL against which this package is sealed.java.lang.String
getSpecTitle()
Get the package specification title.java.lang.String
getSpecVendor()
Set the package specification vendor.java.lang.String
getSpecVersion()
Get the package specification version.PackageSpec
setAssertionSetting(AssertionSetting assertionSetting)
Set the package assertion setting.void
setAssertionSetting$$bridge(AssertionSetting assertionSetting)
PackageSpec
setImplTitle(java.lang.String implTitle)
Set the implementation title.void
setImplTitle$$bridge(java.lang.String implTitle)
PackageSpec
setImplVendor(java.lang.String implVendor)
Set the implementation vendor.void
setImplVendor$$bridge(java.lang.String implVendor)
PackageSpec
setImplVersion(java.lang.String implVersion)
Set the implementation version.void
setImplVersion$$bridge(java.lang.String implVersion)
void
setSealBase(java.net.URL sealBase)
Set the URL against which this package is sealed.PackageSpec
setSpecTitle(java.lang.String specTitle)
Set the package specification title.void
setSpecTitle$$bridge(java.lang.String specTitle)
PackageSpec
setSpecVendor(java.lang.String specVendor)
Set the package specification vendor.void
setSpecVendor$$bridge(java.lang.String specVendor)
PackageSpec
setSpecVersion(java.lang.String specVersion)
Set the package specification version.void
setSpecVersion$$bridge(java.lang.String specVersion)
-
-
-
Method Detail
-
getSpecTitle
public java.lang.String getSpecTitle()
Get the package specification title.- Returns:
- the specification title
- See Also:
Attributes.Name.SPECIFICATION_TITLE
-
setSpecTitle
public PackageSpec setSpecTitle(java.lang.String specTitle)
Set the package specification title.- Parameters:
specTitle
- the specification title- See Also:
Attributes.Name.SPECIFICATION_TITLE
-
setSpecTitle$$bridge
public void setSpecTitle$$bridge(java.lang.String specTitle)
-
getSpecVersion
public java.lang.String getSpecVersion()
Get the package specification version.- Returns:
- the specification version
- See Also:
Attributes.Name.SPECIFICATION_VERSION
-
setSpecVersion
public PackageSpec setSpecVersion(java.lang.String specVersion)
Set the package specification version.- Parameters:
specVersion
- the specification version- See Also:
Attributes.Name.SPECIFICATION_VERSION
-
setSpecVersion$$bridge
public void setSpecVersion$$bridge(java.lang.String specVersion)
-
getSpecVendor
public java.lang.String getSpecVendor()
Set the package specification vendor.- Returns:
- the specification vendor
- See Also:
Attributes.Name.SPECIFICATION_VENDOR
-
setSpecVendor
public PackageSpec setSpecVendor(java.lang.String specVendor)
Set the package specification vendor.- Parameters:
specVendor
- the specification vendor- See Also:
Attributes.Name.SPECIFICATION_VENDOR
-
setSpecVendor$$bridge
public void setSpecVendor$$bridge(java.lang.String specVendor)
-
getImplTitle
public java.lang.String getImplTitle()
Get the implementation title.- Returns:
- the implementation title
- See Also:
Attributes.Name.IMPLEMENTATION_TITLE
-
setImplTitle
public PackageSpec setImplTitle(java.lang.String implTitle)
Set the implementation title.- Parameters:
implTitle
- the implementation title- See Also:
Attributes.Name.IMPLEMENTATION_TITLE
-
setImplTitle$$bridge
public void setImplTitle$$bridge(java.lang.String implTitle)
-
getImplVersion
public java.lang.String getImplVersion()
Get the implementation version.- Returns:
- the implementation version
- See Also:
Attributes.Name.IMPLEMENTATION_VERSION
-
setImplVersion
public PackageSpec setImplVersion(java.lang.String implVersion)
Set the implementation version.- Parameters:
implVersion
- the implementation version- See Also:
Attributes.Name.IMPLEMENTATION_VENDOR
-
setImplVersion$$bridge
public void setImplVersion$$bridge(java.lang.String implVersion)
-
getImplVendor
public java.lang.String getImplVendor()
Get the implementation vendor.- Returns:
- the implementation vendor
- See Also:
Attributes.Name.IMPLEMENTATION_VENDOR
-
setImplVendor
public PackageSpec setImplVendor(java.lang.String implVendor)
Set the implementation vendor.- Parameters:
implVendor
- the implementation vendor- See Also:
Attributes.Name.IMPLEMENTATION_VENDOR
-
setImplVendor$$bridge
public void setImplVendor$$bridge(java.lang.String implVendor)
-
getSealBase
public java.net.URL getSealBase()
Get the URL against which this package is sealed.- Returns:
- the seal base URL
- See Also:
Attributes.Name.SEALED
-
setSealBase
public void setSealBase(java.net.URL sealBase)
Set the URL against which this package is sealed.- Parameters:
sealBase
- the seal base URL- See Also:
Attributes.Name.SEALED
-
getAssertionSetting
public AssertionSetting getAssertionSetting()
Get the package assertion setting.- Returns:
- the package assertion setting
-
setAssertionSetting
public PackageSpec setAssertionSetting(AssertionSetting assertionSetting)
Set the package assertion setting.- Parameters:
assertionSetting
- the package assertion setting
-
setAssertionSetting$$bridge
public void setAssertionSetting$$bridge(AssertionSetting assertionSetting)
-
-