public class ImportOptions extends Object
Constructor and Description |
---|
ImportOptions() |
ImportOptions(ImportOptions base)
Deprecated.
use
copy() instead. |
Modifier and Type | Method and Description |
---|---|
ImportOptions |
copy() |
AccessControlHandling |
getAccessControlHandling() |
int |
getAutoSaveThreshold() |
Pattern |
getCndPattern() |
WorkspaceFilter |
getFilter() |
ClassLoader |
getHookClassLoader() |
ImportMode |
getImportMode() |
ProgressTrackerListener |
getListener() |
File |
getPatchDirectory() |
String |
getPatchParentPath() |
PathMapping |
getPathMapping()
Defines a path mapping that is applied to the incoming package paths and filter when installing the package.
|
boolean |
isDryRun() |
boolean |
isNonRecursive()
Defines the package installation should recursively install sub packages.
|
boolean |
isPatchKeepInRepo() |
boolean |
isStrict() |
void |
setAccessControlHandling(AccessControlHandling acHandling) |
void |
setAutoSaveThreshold(int threshold) |
void |
setCndPattern(String cndPattern) |
void |
setDryRun(boolean dryRun) |
void |
setFilter(WorkspaceFilter filter) |
void |
setHookClassLoader(ClassLoader hookClassLoader) |
void |
setImportMode(ImportMode importMode) |
void |
setListener(ProgressTrackerListener listener) |
void |
setNonRecursive(boolean nonRecursive) |
void |
setPatchDirectory(File patchDirectory) |
void |
setPatchKeepInRepo(boolean patchKeepInRepo) |
void |
setPatchParentPath(String patchParentPath) |
void |
setPathMapping(PathMapping pathMapping)
Sets the path mapping
|
void |
setStrict(boolean strict) |
public ImportOptions()
@Deprecated public ImportOptions(ImportOptions base)
copy()
instead.base
- base optionspublic ImportOptions copy()
public boolean isStrict()
public void setStrict(boolean strict)
public ProgressTrackerListener getListener()
public void setListener(ProgressTrackerListener listener)
public String getPatchParentPath()
public void setPatchParentPath(String patchParentPath)
public File getPatchDirectory()
public void setPatchDirectory(File patchDirectory) throws IOException
IOException
public boolean isPatchKeepInRepo()
public void setPatchKeepInRepo(boolean patchKeepInRepo)
public AccessControlHandling getAccessControlHandling()
public void setAccessControlHandling(AccessControlHandling acHandling)
public boolean isNonRecursive()
SubPackageHandling
configuration has no effect, as sub packages
are not evaluated at all.true
if package installation should not install sub packages.public void setNonRecursive(boolean nonRecursive)
isNonRecursive()
public Pattern getCndPattern()
public void setCndPattern(String cndPattern) throws PatternSyntaxException
PatternSyntaxException
public boolean isDryRun()
public void setDryRun(boolean dryRun)
public void setAutoSaveThreshold(int threshold)
public int getAutoSaveThreshold()
public ImportMode getImportMode()
public void setImportMode(ImportMode importMode)
public WorkspaceFilter getFilter()
public void setFilter(WorkspaceFilter filter)
public ClassLoader getHookClassLoader()
public void setHookClassLoader(ClassLoader hookClassLoader)
public PathMapping getPathMapping()
null
if no path mapping is defined.public void setPathMapping(PathMapping pathMapping)
getPathMapping()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"