Class UserPropertyInfo

    • Constructor Detail

      • UserPropertyInfo

        public UserPropertyInfo​(@NotNull
                                java.lang.String propertyName,
                                @NotNull
                                java.lang.String displayName)
        Constructs new property descriptor.
        Parameters:
        propertyName - name of the property
        displayName - name of the property to show in the UI
      • UserPropertyInfo

        public UserPropertyInfo​(@NotNull
                                java.lang.String propertyName,
                                @NotNull
                                java.lang.String displayName,
                                @Nullable
                                java.lang.String placeHolder,
                                @NotNull
                                UserPropertyValidator... validators)
        Constructs new property descriptor.
        Parameters:
        propertyName - name of the property
        displayName - name of the property to show in the UI
        placeHolder - text to show in UI when property value is empty. Note that user will be not able to use the placeholder as a property value. There is a convention to use brackets in the placeholder: '<...>'
        Since:
        8.0
      • UserPropertyInfo

        public UserPropertyInfo​(@NotNull
                                java.lang.String propertyName,
                                @NotNull
                                java.lang.String displayName,
                                @Nullable
                                java.lang.String placeHolder,
                                @Nullable
                                UserPropertyLinkProvider linkProvider,
                                @NotNull
                                UserPropertyValidator... validators)
        Constructs new property descriptor.
        Parameters:
        propertyName - name of the property
        displayName - name of the property to show in the UI
        placeHolder - text to show in UI when property value is empty. Note that user will be not able to use the placeholder as a property value. There is a convention to use brackets in the placeholder: '<...>'
        linkProvider - provides some link for this property to show in the UI
        Since:
        9.0