Package edu.uiuc.ncsa.security.installer
Class ArgMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap
-
- edu.uiuc.ncsa.security.installer.ArgMap
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map
public class ArgMap extends HashMap
A map of the arguments to the installer. It eats the command line string andCreated by Jeff Gaynor
on 6/14/24 at 10:22 AM- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOperation()
File
getRootDir()
String
getString(String key)
String
getVersion()
boolean
hasRootDir()
Boolean
is(String key)
Checks that the key is a booleanboolean
isAll()
boolean
isInstall()
boolean
isList()
boolean
isLoggingEnabled()
boolean
isPacerOn()
boolean
isRemove()
boolean
isShowHelp()
boolean
isShowReleaseNotes()
boolean
isUpgrade()
boolean
isVersions()
File
logFile()
protected void
setupArgMap(String[] args, List<String> allOps)
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
ArgMap
public ArgMap(String[] args)
-
-
Method Detail
-
getVersion
public String getVersion()
-
getRootDir
public File getRootDir()
-
isInstall
public boolean isInstall()
-
isRemove
public boolean isRemove()
-
isUpgrade
public boolean isUpgrade()
-
isShowHelp
public boolean isShowHelp()
-
isList
public boolean isList()
-
isVersions
public boolean isVersions()
-
hasRootDir
public boolean hasRootDir()
-
getOperation
public String getOperation()
-
isAll
public boolean isAll()
-
isPacerOn
public boolean isPacerOn()
-
isLoggingEnabled
public boolean isLoggingEnabled()
-
logFile
public File logFile()
-
isShowReleaseNotes
public boolean isShowReleaseNotes()
-
-