Class ConnectivityIntentCommand

    • Constructor Detail

      • ConnectivityIntentCommand

        public ConnectivityIntentCommand()
    • Method Detail

      • buildTrafficSelector

        protected TrafficSelector buildTrafficSelector()
        Constructs a traffic selector based on the command line arguments presented to the command.
        Returns:
        traffic selector
      • buildTrafficTreatment

        protected TrafficTreatment buildTrafficTreatment()
        Generates a traffic treatment for this intent based on command line arguments presented to the command.
        Returns:
        traffic treatment
      • buildConstraints

        protected List<Constraint> buildConstraints()
        Builds the constraint list for this command based on the command line parameters.
        Returns:
        List of constraint objects describing the constraints requested
      • key

        protected Key key()
        Creates a key for an intent based on command line arguments. If a key has been specified, it is returned. If no key is specified, null is returned.
        Returns:
        intent key if specified, null otherwise
      • priority

        protected int priority()
        Gets the priority to use for the intent.
        Returns:
        priority