Class ConstraintDetail

    • Method Detail

      • constraintId

        public final String constraintId()

        The identifier of the constraint.

        Returns:
        The identifier of the constraint.
      • type

        public final String type()

        The type of constraint.

        • LAUNCH

        • NOTIFICATION

        • STACKSET

        • TEMPLATE

        Returns:
        The type of constraint.

        • LAUNCH

        • NOTIFICATION

        • STACKSET

        • TEMPLATE

      • description

        public final String description()

        The description of the constraint.

        Returns:
        The description of the constraint.
      • owner

        public final String owner()

        The owner of the constraint.

        Returns:
        The owner of the constraint.
      • productId

        public final String productId()

        The identifier of the product the constraint applies to. Note that a constraint applies to a specific instance of a product within a certain portfolio.

        Returns:
        The identifier of the product the constraint applies to. Note that a constraint applies to a specific instance of a product within a certain portfolio.
      • portfolioId

        public final String portfolioId()

        The identifier of the portfolio the product resides in. The constraint applies only to the instance of the product that lives within this portfolio.

        Returns:
        The identifier of the portfolio the product resides in. The constraint applies only to the instance of the product that lives within this portfolio.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)