public class PersistentBundle extends BundleInfo
| Constructor and Description |
|---|
PersistentBundle(String groupId,
String symbolicName,
String version)
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getChecksum() |
String |
getDisplayName() |
long |
getLastModified()
Returns the last modified timestamp for this bundle.
|
String |
getLocation() |
org.springframework.core.io.Resource |
getResource() |
int |
hashCode() |
boolean |
isTransformationRequired()
Returns
true if for this persistent bundle a transformation is required to add module dependencies capability manifest
headers on the fly. |
void |
setChecksum(String checksum)
Sets the checksum of the bundle file.
|
void |
setDisplayName(String displayName)
Set the displayable name for this bundle.
|
void |
setLastModified(long lastModified)
Sets the last modified timestamp for this bundle.
|
void |
setResource(org.springframework.core.io.Resource jarFile)
Sets the resource, which represents this bundle.
|
void |
setTransformationRequired(boolean transformationRequired)
Sets the flag for the transformation.
|
String |
toString() |
fromBundle, fromKey, fromModuleInfo, getGroupId, getKey, getSymbolicName, getVersionpublic boolean equals(Object obj)
equals in class BundleInfopublic String getChecksum()
public String getDisplayName()
public long getLastModified()
0 if the last modified data is not availablepublic String getLocation()
public org.springframework.core.io.Resource getResource()
public int hashCode()
hashCode in class BundleInfopublic boolean isTransformationRequired()
true if for this persistent bundle a transformation is required to add module dependencies capability manifest
headers on the fly.true if for this persistent bundle a transformation is required to add module dependencies capability manifest
headers on the fly; false if no on-the-fly transformation is required (the capability headers are already
present)public void setChecksum(String checksum)
checksum - The checksum of the bundle filepublic void setDisplayName(String displayName)
displayName - The displayable name for this bundlepublic void setLastModified(long lastModified)
lastModified - the last modified timestamp for this bundlepublic void setResource(org.springframework.core.io.Resource jarFile)
jarFile - The resource, which represents this bundlepublic void setTransformationRequired(boolean transformationRequired)
transformationRequired - does the persistent bundle requires on-the-fly transformationisTransformationRequired()public String toString()
toString in class BundleInfoCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.