Class JcrPackageItem
- java.lang.Object
-
- com.composum.sling.core.pckgmgr.jcrpckg.tree.JcrPackageItem
-
-
Constructor Summary
Constructors Constructor Description JcrPackageItem(org.apache.jackrabbit.vault.packaging.JcrPackage jcrPackage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(JcrPackageItem o)
boolean
equals(Object other)
org.apache.jackrabbit.vault.packaging.JcrPackageDefinition
getDefinition()
String
getFilename()
Calendar
getLastModified()
String
getName()
String
getPath()
int
hashCode()
void
toJson(com.google.gson.stream.JsonWriter writer)
JcrPackageItem
versionAsName(boolean versionAsName)
-
-
-
Method Detail
-
versionAsName
public JcrPackageItem versionAsName(boolean versionAsName)
-
getDefinition
public org.apache.jackrabbit.vault.packaging.JcrPackageDefinition getDefinition()
-
toJson
public void toJson(com.google.gson.stream.JsonWriter writer) throws javax.jcr.RepositoryException, IOException
- Specified by:
toJson
in interfaceTreeItem
- Throws:
javax.jcr.RepositoryException
IOException
-
getFilename
public String getFilename()
-
getLastModified
public Calendar getLastModified()
-
compareTo
public int compareTo(JcrPackageItem o)
-
-