Interface Objective

    • Method Detail

      • id

        int id()
        An identifier for this objective.
        Returns:
        an integer
      • priority

        int priority()
        The priority for this objective.
        Returns:
        an integer
      • appId

        ApplicationId appId()
        The application which applied this objective.
        Returns:
        an application id
      • timeout

        int timeout()
        The timeout for this objective.
        Returns:
        an integer
      • permanent

        boolean permanent()
        Whether this objective is permanent.
        Returns:
        a boolean
      • context

        java.util.Optional<ObjectiveContext> context()
        Obtains an optional context.
        Returns:
        optional; which will be empty if there is no context. Otherwise it will return the context.
      • copy

        Objective.Builder copy()
        Returns a new builder set to create a copy of this objective.
        Returns:
        new builder