public class PplPathFilter extends Object implements PathPolicy
Policy is a compiled path policy object, all extended policies have been merged.
| Modifier and Type | Class and Description |
|---|---|
static class |
PplPathFilter.Builder |
PathPolicy.First, PathPolicy.IsdAllow, PathPolicy.IsdDisallow, PathPolicy.MaxBandwith, PathPolicy.MinHopCount, PathPolicy.MinLatencyDEFAULT, FIRST, MAX_BANDWIDTH, MIN_HOPS, MIN_LATENCY| Modifier and Type | Method and Description |
|---|---|
static PplPathFilter.Builder |
builder() |
boolean |
equals(Object o) |
List<Path> |
filter(List<Path> paths) |
String |
getName() |
static String |
getSequence(Path path)
getSequence constructs the sequence string from a Path.
|
int |
hashCode() |
static PplPathFilter |
policyFromExtPolicy(PplExtPolicy extPolicy,
PplExtPolicy[] extended) |
com.google.gson.JsonObject |
toJson() |
String |
toString() |
public static PplPathFilter.Builder builder()
public List<Path> filter(List<Path> paths)
filter in interface PathPolicypaths - A list of candidate pathspublic static PplPathFilter policyFromExtPolicy(PplExtPolicy extPolicy, PplExtPolicy[] extended)
public static String getSequence(Path path)
1-ff00:0:133#42 1-ff00:0:120#2,1 1-ff00:0:110#21
public String getName()
public com.google.gson.JsonObject toJson()
Copyright © 2025. All rights reserved.