java.lang.Object
com.aoindustries.firewalld.Target
All Implemented Interfaces:
Comparable<Target>

public class Target extends Object implements Comparable<Target>
A "target" is a single address/prefix, protocol, and optional port range.

Each Service may have multiple targets, but all targets will be within its IPv4 destination and IPv6 destination.

A ServiceSet goes beyond the single-destination limits of Service and allows any arbitrary set of targets.

We choose the name "target" as it is the primary new concept and purpose of this API and is otherwise not used in standard firewalld service terminology.

Author:
AO Industries, Inc.