public class PplPolicy extends Object implements PathPolicy
| Modifier and Type | Class and Description |
|---|---|
static class |
PplPolicy.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 PplPolicy.Builder |
builder() |
List<Path> |
filter(List<Path> input) |
static PplPolicy |
fromJson(Path file) |
static PplPolicy |
fromJson(String jsonFile) |
String |
toJson(boolean prettyPrint) |
public List<Path> filter(List<Path> input)
filter in interface PathPolicyinput - A list of candidate pathspublic static PplPolicy.Builder builder()
public String toJson(boolean prettyPrint)
Copyright © 2025. All rights reserved.