Interface NotifierDescriptor

    • Method Detail

      • getType

        @NotNull
        String getType()
        Get type of connected notifier
        Returns:
        notifier type
      • getDisplayName

        @NotNull
        String getDisplayName()
        Get notifier display name that will be used in UI
        Returns:
        notifier display name
      • getParameters

        @NotNull
        Map<String,​ControlDescription> getParameters()
        Get avaiable notifier parameters
        Returns:
        map {parameter name} -> {parameter control description}
      • validate

        @NotNull
        Collection<InvalidProperty> validate​(@NotNull
                                             Map<String,​String> parameters)
        Validate input parameters before they are persisted If there are no errors in input parameters, empty collection should be returned
        Parameters:
        parameters - input parameters
        Returns:
        validation errors. Returned collection should be empty if there are no errors in input parameters
      • getEditParametersUrl

        @Nullable
        String getEditParametersUrl()
        Get url to page for editing notifier parameters If null is returned, default UI for editing parameters returned from [getParameters] will be rendered
        Returns:
        url to page for editing notifier parameters or null if default UI for editing parameteres should be rendered