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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExcludedHost
(String host) void
void
void
void
void
addIncludedHost
(String host) void
getFlags()
void
removeExcludedHost
(String host) void
removeFlag
(Flag f) void
removeIncludedHost
(String host) void
replaceFlag
(Flag f, String value) void
setFlagMap
(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()
-