All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.split.client.SplitManager Maven / Gradle / Ivy

package io.split.client;

import io.split.client.api.SplitView;

import java.util.List;

/**
 * An interface to manage an instance of Split SDK.
 */
public interface SplitManager {
    /**
     * Retrieves the features (or Splits) that are currently registered with the
     * SDK.
     *
     * @return a List of SplitView or empty
     */
    List splits();

    /**
     * Returns the feature (or Split) registered with the SDK of this name.
     *
     * @return SplitView or null
     */
    SplitView split(String featureName);

    /**
     * Returns the names of features (or Splits) registered with the SDK.
     *
     * @return a List of String (Split Feature Names) or empty
     */
    List splitNames();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy