public class CommandLineUpdate
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addLocalBundles(java.util.List<java.lang.String> localBundles) |
void |
addRemoteExtensions(java.util.List<java.lang.String> remoteBundles) |
static CommandLineUpdate |
createFromPropertiesFile(CommandLineUpdate clu,
java.lang.String propertiesFilePath) |
static CommandLineUpdate |
createWithoutProperties() |
void |
doUpdate()
Reads the properties file and does any updates specified
|
void |
setHostName(java.lang.String hostName) |
void |
setIgnoreInvalidBundles(boolean ignore) |
void |
setPortNumber(java.lang.String portNumber) |
void |
setVerbose(boolean verbose) |
void |
showCommandsOnOuput()
List available updates from the standard update centers
|
boolean |
validateOptions() |
public static CommandLineUpdate createWithoutProperties()
public static CommandLineUpdate createFromPropertiesFile(CommandLineUpdate clu, java.lang.String propertiesFilePath)
public void setHostName(java.lang.String hostName)
public void setPortNumber(java.lang.String portNumber)
public void setVerbose(boolean verbose)
public void setIgnoreInvalidBundles(boolean ignore)
public void addRemoteExtensions(java.util.List<java.lang.String> remoteBundles)
public void addLocalBundles(java.util.List<java.lang.String> localBundles)
public boolean validateOptions()
public void doUpdate() throws InvalidLocalBundleException
InvalidLocalBundleException
public void showCommandsOnOuput()