Package 

Class CommonConfigurationFactoriesKt

    • Method Summary

      Modifier and Type Method Description
      final CollectionConfiguration getCollectionConfigurationFactory() Configuration factory for new CollectionConfigurationsUsage: val collConfig = CollectionConfigurationFactory.newConfig(...
      final FullTextIndexConfiguration getFullTextIndexConfigurationFactory() Configuration factory for new FullTextIndexConfigurationsUsage: val fullTextIndexConfig = FullTextIndexConfigurationFactory.newConfig(...
      final ValueIndexConfiguration getValueIndexConfigurationFactory() Configuration factory for new ValueIndexConfigurationsUsage: val valIndexConfig = ValueIndexConfigurationFactory.newConfig(...
      final LogFileConfiguration getLogFileConfigurationFactory() Configuration factory for new LogFileConfigurationsUsage: val logFileConfig = LogFileConfigurationFactory.newConfig(...
      final static CollectionConfiguration newConfig(CollectionConfiguration $self, List<String> channels, List<String> documentIDs, ReplicationFilter pullFilter, ReplicationFilter pushFilter, ConflictResolver conflictResolver)
      final static FullTextIndexConfiguration newConfig(FullTextIndexConfiguration $self, String expressions, String language, Boolean ignoreAccents) Create a FullTextIndexConfiguration, overriding the receiver's values with the passed parameters:
      final static <ERROR CLASS> newConfig(ValueIndexConfiguration $self, String expressions) Create a ValueIndexConfiguration, overriding the receiver's values with the passed parameters:
      final static LogFileConfiguration newConfig(LogFileConfiguration $self, String directory, Long maxSize, Integer maxRotateCount, Boolean usePlainText) Create a LogFileConfiguration, overriding the receiver's values with the passed parameters:
      final static FullTextIndexConfiguration create(FullTextIndexConfiguration $self, String expressions, String language, Boolean ignoreAccents) Create a FullTextIndexConfiguration, overriding the receiver's values with the passed parameters:
      final static <ERROR CLASS> create(ValueIndexConfiguration $self, String expressions) Create a ValueIndexConfiguration, overriding the receiver's values with the passed parameters:
      final static LogFileConfiguration create(LogFileConfiguration $self, String directory, Long maxSize, Integer maxRotateCount, Boolean usePlainText) Create a LogFileConfiguration, overriding the receiver's values with the passed parameters:
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCollectionConfigurationFactory

         final CollectionConfiguration getCollectionConfigurationFactory()

        Configuration factory for new CollectionConfigurations

        Usage: val collConfig = CollectionConfigurationFactory.newConfig(...)

      • getFullTextIndexConfigurationFactory

         final FullTextIndexConfiguration getFullTextIndexConfigurationFactory()

        Configuration factory for new FullTextIndexConfigurations

        Usage: val fullTextIndexConfig = FullTextIndexConfigurationFactory.newConfig(...)

      • getValueIndexConfigurationFactory

         final ValueIndexConfiguration getValueIndexConfigurationFactory()

        Configuration factory for new ValueIndexConfigurations

        Usage: val valIndexConfig = ValueIndexConfigurationFactory.newConfig(...)

      • getLogFileConfigurationFactory

         final LogFileConfiguration getLogFileConfigurationFactory()

        Configuration factory for new LogFileConfigurations

        Usage: val logFileConfig = LogFileConfigurationFactory.newConfig(...)

      • newConfig

         final static CollectionConfiguration newConfig(CollectionConfiguration $self, List<String> channels, List<String> documentIDs, ReplicationFilter pullFilter, ReplicationFilter pushFilter, ConflictResolver conflictResolver)
      • newConfig

         final static FullTextIndexConfiguration newConfig(FullTextIndexConfiguration $self, String expressions, String language, Boolean ignoreAccents)

        Create a FullTextIndexConfiguration, overriding the receiver's values with the passed parameters:

        Parameters:
        expressions - (required) the expressions to be matched.
      • newConfig

         final static <ERROR CLASS> newConfig(ValueIndexConfiguration $self, String expressions)

        Create a ValueIndexConfiguration, overriding the receiver's values with the passed parameters:

        Parameters:
        expressions - (required) the expressions to be matched.
      • newConfig

         final static LogFileConfiguration newConfig(LogFileConfiguration $self, String directory, Long maxSize, Integer maxRotateCount, Boolean usePlainText)

        Create a LogFileConfiguration, overriding the receiver's values with the passed parameters:

        Parameters:
        directory - (required) the directory in which the logs files are stored.
        maxSize - the max size of the log file in bytes.
        maxRotateCount - the number of rotated logs that are saved.
        usePlainText - whether or not to log in plaintext.
      • create

        @Deprecated(message = Use FullTextIndexConfiguration?.newConfig(vararg expressions: String, language: String?, ignoreAccents: Boolean?), replaceWith = @ReplaceWith(imports = {}, expression = FullTextIndexConfiguration?.newConfig(vararg expressions: String, language: String?, ignoreAccents: Boolean?))) final static FullTextIndexConfiguration create(FullTextIndexConfiguration $self, String expressions, String language, Boolean ignoreAccents)

        Create a FullTextIndexConfiguration, overriding the receiver's values with the passed parameters:

        Parameters:
        expressions - (required) the expressions to be matched.
      • create

        @Deprecated(message = Use ValueIndexConfiguration?.newConfig(vararg expressions: String), replaceWith = @ReplaceWith(imports = {}, expression = ValueIndexConfiguration?.newConfig(vararg expressions: String))) final static <ERROR CLASS> create(ValueIndexConfiguration $self, String expressions)

        Create a ValueIndexConfiguration, overriding the receiver's values with the passed parameters:

        Parameters:
        expressions - (required) the expressions to be matched.
      • create

        @Deprecated(message = Use LogFileConfiguration?.newConfig(String?, Long?, Int?, Boolean?), replaceWith = @ReplaceWith(imports = {}, expression = LogFileConfiguration?.newConfig(String?, Long?, Int?, Boolean?))) final static LogFileConfiguration create(LogFileConfiguration $self, String directory, Long maxSize, Integer maxRotateCount, Boolean usePlainText)

        Create a LogFileConfiguration, overriding the receiver's values with the passed parameters:

        Parameters:
        directory - (required) the directory in which the logs files are stored.
        maxSize - the max size of the log file in bytes.
        maxRotateCount - the number of rotated logs that are saved.
        usePlainText - whether or not to log in plaintext.