public class PathEntry extends ImportOptions
Modifier and Type | Field and Description |
---|---|
static String |
AUTOCHECKOUT_DIRECTIVE
The autoCheckout directive specifying whether versionable nodes should be
checked out when necessary
|
static String |
CHECKIN_DIRECTIVE
The checkin directive specifying whether versionable nodes should be
checked in
|
static String |
CONTENT_HEADER
The manifest header to specify initial content to be loaded.
|
static String |
IGNORE_CONTENT_READERS_DIRECTIVE
The ignore content readers directive specifying whether the available
ContentReader s should be used during
content loading. |
static String |
OVERWRITE_DIRECTIVE
The overwrite directive specifying if content should be overwritten or
just initially added.
|
static String |
OVERWRITE_PROPERTIES_DIRECTIVE
The overwriteProperties directive specifying if content properties
should be overwritten or just initially added.
|
static String |
PATH_DIRECTIVE
The path directive specifying the target node where initial content will
be loaded.
|
static String |
UNINSTALL_DIRECTIVE
The uninstall directive specifying if content should be uninstalled.
|
static String |
WORKSPACE_DIRECTIVE
The workspace into which the content will be loaded.
|
Constructor and Description |
---|
PathEntry(org.apache.sling.commons.osgi.ManifestHeader.Entry entry,
long bundleLastModified) |
Modifier and Type | Method and Description |
---|---|
static Iterator<PathEntry> |
getContentPaths(org.osgi.framework.Bundle bundle) |
long |
getLastModified() |
String |
getPath() |
String |
getTarget() |
String |
getWorkspace() |
boolean |
isAutoCheckout()
Specifies whether versionable nodes is automatically checked out when
necessary.
|
boolean |
isCheckin()
Specifies whether versionable nodes is automatically checked in at the
end of the import operation.
|
boolean |
isIgnoredImportProvider(String extension)
Check if the content reader for the given file extension should
be ignored.
|
boolean |
isOverwrite()
Specifies whether imported nodes should overwrite existing nodes.
|
boolean |
isPropertyOverwrite()
Specifies whether imported properties should overwrite existing properties.
|
boolean |
isUninstall() |
public static final String CONTENT_HEADER
public static final String OVERWRITE_DIRECTIVE
public static final String OVERWRITE_PROPERTIES_DIRECTIVE
public static final String UNINSTALL_DIRECTIVE
public static final String PATH_DIRECTIVE
public static final String WORKSPACE_DIRECTIVE
public static final String CHECKIN_DIRECTIVE
public static final String AUTOCHECKOUT_DIRECTIVE
public static final String IGNORE_CONTENT_READERS_DIRECTIVE
ContentReader
s should be used during
content loading. This is a string value that defaults to the emptystring.public PathEntry(org.apache.sling.commons.osgi.ManifestHeader.Entry entry, long bundleLastModified)
public long getLastModified()
public String getPath()
public boolean isOverwrite()
ImportOptions
isOverwrite
in class ImportOptions
public boolean isPropertyOverwrite()
ImportOptions
isPropertyOverwrite
in class ImportOptions
public boolean isUninstall()
public boolean isCheckin()
ImportOptions
isCheckin
in class ImportOptions
public boolean isAutoCheckout()
ImportOptions
isAutoCheckout
in class ImportOptions
public boolean isIgnoredImportProvider(String extension)
ImportOptions
isIgnoredImportProvider
in class ImportOptions
extension
- the extension to checkpublic String getTarget()
public String getWorkspace()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.