Package org.nmap4j.core.flags
Class ArgumentProperties
java.lang.Object
org.nmap4j.core.flags.ArgumentProperties
Instances of this class are used to manage the flags for a given
execution.
Flags are ordered, so the order in which you add them is retained.
This class also manages hosts (included and excluded) as well, even though the hosts are not explicitly flagged the way other things are.
Hosts are not ordered when stored, as nmap is agnostic in this regard.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExcludedHost(String host) voidvoidvoidvoidvoidaddIncludedHost(String host) voidgetFlags()voidremoveExcludedHost(String host) voidremoveFlag(Flag f) voidremoveIncludedHost(String host) voidreplaceFlag(Flag f, String value) voidsetFlagMap(LinkedHashMap<String, String> newMap)
-
Constructor Details
-
ArgumentProperties
public ArgumentProperties()
-
-
Method Details
-
addFlag
-
addFlag
-
addFlag
-
addFlag
-
replaceFlag
-
removeFlag
-
getFlagMap
-
setFlagMap
-
getFlags
-
addIncludedHost
-
removeIncludedHost
-
getIncludedHostsAsString
-
getIncludedHosts
-
addExcludedHost
-
removeExcludedHost
-
getExcludeHost
-
getExcludedHostsAsString
-
clearFlags
public void clearFlags()
-