@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.
|
java.lang.String |
toString() |
cost, equals, hashCode, validate
public static boolean requireProtectedPath(Intent intent)
intent
- intent to be inspectedpublic static ProtectionConstraint protection()
public java.lang.String toString()
toString
in class MarkerConstraint