Package org.jboss.modules
Class PackageSpec
- java.lang.Object
-
- org.jboss.modules.PackageSpec
-
public final class PackageSpec extends java.lang.ObjectA specification for a package to define.
-
-
Field Summary
Fields Modifier and Type Field Description private AssertionSettingassertionSettingprivate java.lang.StringimplTitleprivate java.lang.StringimplVendorprivate java.lang.StringimplVersionprivate java.net.URLsealBaseprivate java.lang.StringspecTitleprivate java.lang.StringspecVendorprivate java.lang.StringspecVersion
-
Constructor Summary
Constructors Constructor Description PackageSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssertionSettinggetAssertionSetting()Get the package assertion setting.java.lang.StringgetImplTitle()Get the implementation title.java.lang.StringgetImplVendor()Get the implementation vendor.java.lang.StringgetImplVersion()Get the implementation version.java.net.URLgetSealBase()Get the URL against which this package is sealed.java.lang.StringgetSpecTitle()Get the package specification title.java.lang.StringgetSpecVendor()Set the package specification vendor.java.lang.StringgetSpecVersion()Get the package specification version.voidsetAssertionSetting(AssertionSetting assertionSetting)Set the package assertion setting.voidsetImplTitle(java.lang.String implTitle)Set the implementation title.voidsetImplVendor(java.lang.String implVendor)Set the implementation vendor.voidsetImplVersion(java.lang.String implVersion)Set the implementation version.voidsetSealBase(java.net.URL sealBase)Set the URL against which this package is sealed.voidsetSpecTitle(java.lang.String specTitle)Set the package specification title.voidsetSpecVendor(java.lang.String specVendor)Set the package specification vendor.voidsetSpecVersion(java.lang.String specVersion)Set the package specification version.
-
-
-
Field Detail
-
specTitle
private java.lang.String specTitle
-
specVersion
private java.lang.String specVersion
-
specVendor
private java.lang.String specVendor
-
implTitle
private java.lang.String implTitle
-
implVersion
private java.lang.String implVersion
-
implVendor
private java.lang.String implVendor
-
sealBase
private java.net.URL sealBase
-
assertionSetting
private AssertionSetting assertionSetting
-
-
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 void setSpecTitle(java.lang.String specTitle)
Set the package specification title.- Parameters:
specTitle- the specification title- See Also:
Attributes.Name.SPECIFICATION_TITLE
-
getSpecVersion
public java.lang.String getSpecVersion()
Get the package specification version.- Returns:
- the specification version
- See Also:
Attributes.Name.SPECIFICATION_VERSION
-
setSpecVersion
public void setSpecVersion(java.lang.String specVersion)
Set the package specification version.- Parameters:
specVersion- the specification version- See Also:
Attributes.Name.SPECIFICATION_VERSION
-
getSpecVendor
public java.lang.String getSpecVendor()
Set the package specification vendor.- Returns:
- the specification vendor
- See Also:
Attributes.Name.SPECIFICATION_VENDOR
-
setSpecVendor
public void setSpecVendor(java.lang.String specVendor)
Set the package specification vendor.- Parameters:
specVendor- the specification vendor- See Also:
Attributes.Name.SPECIFICATION_VENDOR
-
getImplTitle
public java.lang.String getImplTitle()
Get the implementation title.- Returns:
- the implementation title
- See Also:
Attributes.Name.IMPLEMENTATION_TITLE
-
setImplTitle
public void setImplTitle(java.lang.String implTitle)
Set the implementation title.- Parameters:
implTitle- the implementation title- See Also:
Attributes.Name.IMPLEMENTATION_TITLE
-
getImplVersion
public java.lang.String getImplVersion()
Get the implementation version.- Returns:
- the implementation version
- See Also:
Attributes.Name.IMPLEMENTATION_VERSION
-
setImplVersion
public void setImplVersion(java.lang.String implVersion)
Set the implementation version.- Parameters:
implVersion- the implementation version- See Also:
Attributes.Name.IMPLEMENTATION_VENDOR
-
getImplVendor
public java.lang.String getImplVendor()
Get the implementation vendor.- Returns:
- the implementation vendor
- See Also:
Attributes.Name.IMPLEMENTATION_VENDOR
-
setImplVendor
public void setImplVendor(java.lang.String implVendor)
Set the implementation vendor.- Parameters:
implVendor- the implementation vendor- See Also:
Attributes.Name.IMPLEMENTATION_VENDOR
-
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 void setAssertionSetting(AssertionSetting assertionSetting)
Set the package assertion setting.- Parameters:
assertionSetting- the package assertion setting
-
-