public class UpdateOptions extends Object
Modifier and Type | Method and Description |
---|---|
File |
getFile() |
String |
getPackageId() |
File |
getTargetDir() |
File |
getTargetFile() |
String |
getVersion() |
boolean |
isAllowDowngrade() |
boolean |
isDeleteOnExit() |
boolean |
isSnapshotVersion() |
boolean |
isUpgradeOnly() |
static UpdateOptions |
newInstance(String pkgId,
File file,
File targetDir) |
void |
setAllowDowngrade(boolean allowDowngrade) |
void |
setDeleteOnExit(boolean deleteOnExit) |
void |
setUpgradeOnly(boolean upgradeOnly) |
public static UpdateOptions newInstance(String pkgId, File file, File targetDir)
public File getFile()
public File getTargetDir()
public File getTargetFile()
public String getVersion()
public boolean isSnapshotVersion()
public String getPackageId()
public void setUpgradeOnly(boolean upgradeOnly)
public void setAllowDowngrade(boolean allowDowngrade)
public boolean isUpgradeOnly()
public boolean isAllowDowngrade()
public void setDeleteOnExit(boolean deleteOnExit)
public boolean isDeleteOnExit()
Copyright © 2015 Nuxeo SA. All rights reserved.