Interface Objective.Builder

    • Method Detail

      • makeTemporary

        Objective.Builder makeTemporary​(int timeout)
        Makes the filtering objective temporary.
        Parameters:
        timeout - a timeout
        Returns:
        an objective builder
      • makePermanent

        Objective.Builder makePermanent()
        Makes the filtering objective permanent.
        Returns:
        an objective builder
      • fromApp

        Objective.Builder fromApp​(ApplicationId appId)
        Specifies the application which applied the filter.
        Parameters:
        appId - an application id
        Returns:
        an objective builder
      • withPriority

        Objective.Builder withPriority​(int priority)
        Sets the priority for this objective.
        Parameters:
        priority - an integer
        Returns:
        an objective builder
      • add

        Objective add()
        Builds the objective that will be added.
        Returns:
        an objective
      • remove

        Objective remove()
        Builds the objective that will be removed.
        Returns:
        an objective.
      • add

        Objective add​(ObjectiveContext context)
        Builds the objective that will be added. The context will be used to notify the calling application.
        Parameters:
        context - an objective context
        Returns:
        an objective
      • remove

        Objective remove​(ObjectiveContext context)
        Builds the objective that will be removed. The context will be used to notify the calling application.
        Parameters:
        context - an objective context
        Returns:
        an objective