Package org.verapdf
Class ReleaseDetails
java.lang.Object
org.verapdf.ReleaseDetails
Class that encapsulates the release details of the veraPDF validation
library. The class controls instance creation so that only a single, static
and immutable instance is available.
- Author:
- Carl Wilson
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ReleaseDetails
addDetailsFromResource
(String resourceName) Will load a ReleaseDetails instance from the resource found with resourceName.static ReleaseDetails
Retrieve ReleaseDetails by idstatic ReleaseDetails
boolean
{ @inheritDoc }static Collection<ReleaseDetails>
getId()
getIds()
static ReleaseDetails
int
hashCode()
{ @inheritDoc }static String
toString()
{ @inheritDoc }
-
Field Details
-
APPLICATION_PROPERTIES_ROOT
- See Also:
-
PROPERTIES_EXT
- See Also:
-
LIBRARY_DETAILS_RESOURCE
- See Also:
-
-
Method Details
-
getId
- Returns:
- the id of the release artifact
-
getVersion
- Returns:
- the veraPDF library version number
-
getBuildDate
- Returns:
- the veraPDF library build date
-
hashCode
public int hashCode(){ @inheritDoc } -
equals
{ @inheritDoc } -
toString
{ @inheritDoc } -
defaultInstance
-
rightsStatement
- Returns:
- the rights statement for the veraPDF software
-
getInstance
- Returns:
- the static immutable ReleaseDetails instance
-
getIds
- Returns:
- the Set of ReleaseDetails ids as Strings
-
byId
Retrieve ReleaseDetails by id- Parameters:
id
- the id to lookup- Returns:
- the
-
getDetails
-
addDetailsFromResource
Will load a ReleaseDetails instance from the resource found with resourceName. This should be a properties file with the appropriate release details properties.- Parameters:
resourceName
- the name of the resource to load
-