Class NonDisruptiveConstraint

  • All Implemented Interfaces:
    Constraint

    public final class NonDisruptiveConstraint
    extends MarkerConstraint
    Constraint to request a non-disruptive intent reallocation.
    • Constructor Detail

      • NonDisruptiveConstraint

        protected NonDisruptiveConstraint()
    • Method Detail

      • requireNonDisruptive

        public static boolean requireNonDisruptive​(Intent intent)
        Determines whether the intent requires a non-disruptive reallocation.
        Parameters:
        intent - intent to be inspected
        Returns:
        whether the intent has a NonDisruptiveConstraint
      • nonDisruptive

        public static NonDisruptiveConstraint nonDisruptive()
        Returns the nonDisruptiveConstraint.
        Returns:
        non-disruptive constraint