Interface DataSetDefValidator<T extends org.dashbuilder.dataset.def.DataSetDef>

    • Method Detail

      • getSupportedProvider

        org.dashbuilder.dataprovider.DataSetProviderType getSupportedProvider()
        Retrieves the supported DataSetDef type
      • validateBasicAttributes

        Iterable<javax.validation.ConstraintViolation<?>> validateBasicAttributes​(org.dashbuilder.dataset.def.DataSetDef dataSetDef)
        Validates the DataSetDef basic attributes
      • validateCustomAttributes

        Iterable<javax.validation.ConstraintViolation<?>> validateCustomAttributes​(T dataSetDef,
                                                                                   Object... params)
        Validates the DataSetDef specific attributes
      • validate

        Iterable<javax.validation.ConstraintViolation<?>> validate​(T dataSetDef,
                                                                   boolean isCacheEnabled,
                                                                   boolean isPushEnabled,
                                                                   boolean isRefreshEnabled,
                                                                   Object... params)
        Validates a DataSetDef
      • validateProviderType

        Iterable<javax.validation.ConstraintViolation<?>> validateProviderType​(org.dashbuilder.dataset.def.DataSetDef dataSetDef)