public class ScriptInstaller extends Object
Constructor and Description |
---|
ScriptInstaller() |
Modifier and Type | Method and Description |
---|---|
static Vector<String> |
getSystemScripts(TreeSet<String> methods,
String csr_script_url,
boolean SOFTWARE_KEYS)
Search the CSR for scripts for applications on the local system.
|
static Vector<String> |
getSystemScripts(TreeSet<String> methods,
String csr_script_url,
TreeSet<String> local_software,
boolean SOFTWARE_KEYS)
Search the CSR for scripts for applications on the local system.
|
static Vector<String> |
getTestFiles(Vector<String> scripts,
String csr_script_url,
int max_per_type)
Search the CSR for test files for the given scripts.
|
static void |
main(String[] args)
The script installer main.
|
public static Vector<String> getSystemScripts(TreeSet<String> methods, String csr_script_url, TreeSet<String> local_software, boolean SOFTWARE_KEYS)
methods
- the methods to use for searching for local softwarecsr_script_url
- the URL to the needed CSR query scriptslocal_software
- a list to hold the names of locally installed software (possibly pre-filled)SOFTWARE_KEYS
- set to true if software keys have been appended to the given script namepublic static Vector<String> getSystemScripts(TreeSet<String> methods, String csr_script_url, boolean SOFTWARE_KEYS)
methods
- the methods to use for searching for local softwarecsr_script_url
- the URL to the needed CSR query scriptsSOFTWARE_KEYS
- set to true if software keys have been appended to the given script namepublic static Vector<String> getTestFiles(Vector<String> scripts, String csr_script_url, int max_per_type)
scripts
- a list of script namescsr_script_url
- the URL to the needed CSR query scriptsmax_per_type
- the maximum number of test files per typepublic static void main(String[] args)
args
- the command line argumentsCopyright © 2014. All rights reserved.