@Beta public final class ProtectionConstraint extends MarkerConstraint
| Modifier | Constructor and Description |
|---|---|
protected |
ProtectionConstraint() |
| Modifier and Type | Method and Description |
|---|---|
static ProtectionConstraint |
protection()
Returns protection constraint.
|
static boolean |
requireProtectedPath(Intent intent)
Determines whether to utilize path protection for the given intent.
|
String |
toString() |
cost, equals, hashCode, validatepublic static boolean requireProtectedPath(Intent intent)
intent - intent to be inspectedpublic static ProtectionConstraint protection()
public String toString()
toString in class MarkerConstraint