com.infoengine.administration.packaging
Class PropertyLoader
java.lang.Object
com.infoengine.administration.packaging.PropertyLoader
- public class PropertyLoader
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OK
private static String OK
CANCEL
private static String CANCEL
BROWSE
private static String BROWSE
PROPERTIES
private static String PROPERTIES
LPROPFILE
private static String LPROPFILE
LNSNAME
private static String LNSNAME
LVMNAME
private static String LVMNAME
LREPOSITORY
private static String LREPOSITORY
pFileTF
JTextField pFileTF
nsNameTF
JTextField nsNameTF
vmNameTF
JTextField vmNameTF
repoTF
JTextField repoTF
browseB
JButton browseB
propUri
String propUri
searchBase
String searchBase
directory
DelegateDirectory directory
repository
Repository repository
propFile
String propFile
vmName
String vmName
nsName
String nsName
taskRoot
String taskRoot
dcaRoot
String dcaRoot
PropertyLoader
public PropertyLoader()
PropertyLoader
public PropertyLoader(boolean prompt)
prompt
private boolean prompt()
- ask the user for input, exit on Cancel verify input on OK
- Returns:
- true if input is verified as OK
verify
private boolean verify()
- verify the user input to the local swing components
browse
private void browse()
- browse button clicked let the user select a file
processProperties
private void processProperties(String propFile)
processDirectoryProps
private void processDirectoryProps(String url)
guessRepository
private void guessRepository()
getProperty
protected static String getProperty(Properties props,
String propName)
getDirectory
public DelegateDirectory getDirectory()
getRepository
public Repository getRepository()
getNsName
public String getNsName()
getVmName
public String getVmName()
getPropertyFile
public String getPropertyFile()
getTaskRoot
public String getTaskRoot()
getDcaRoot
public String getDcaRoot()