Class DeprecatedContext.Builder

  • Enclosing class:
    DeprecatedContext

    @Deprecated
    public static class DeprecatedContext.Builder
    extends java.lang.Object
    Deprecated.
    Class implements builder to create a new instance of class DeprecatedContext.
    • Method Detail

      • build

        public DeprecatedContext build()
        Deprecated.
        Method creates a new instance of class DeprecatedContext. The object will be initialized with the values of the builder.
        Returns:
        DeprecatedContext Created object. The method never returns null.
      • buildValidated

        public DeprecatedContext buildValidated()
                                         throws javax.validation.ConstraintViolationException
        Deprecated.
        Method creates a new validated instance of class DeprecatedContext. The object will be initialized with the values of the builder and validated afterwards.
        Returns:
        DeprecatedContext Created and validated object. The method never returns null.
        Throws:
        javax.validation.ConstraintViolationException - in case that one or more validations for the created object failed.