package com.google.configuration;

/** Retrieves the project configuration details. */
public final class ConfigurationFactory {
    private enum ProjectStatus {
        DEVELOPMENT,
        TEST,
        PRODUCTION
    }

    private static final ProjectStatus projectStatus = ProjectStatus.DEVELOPMENT;

    /**
     *
     * @return
     * @throws UnsupportedOperationException
     */
    public static final FireStoreConfiguration getFireStoreConfiguration() throws UnsupportedOperationException {
        FireStoreConfiguration fireStoreConfiguration = null;
        switch (projectStatus) {
            case PRODUCTION:
            case TEST:
                throw new UnsupportedOperationException("Not implemented");
            case DEVELOPMENT:
                fireStoreConfiguration = DevelopmentFireStoreConfiguration.getFireStoreConfiguration();
                break;
        }
        return fireStoreConfiguration;
    }
}

package com.google.configuration;

/** Retrieves the project configuration details. */
public final class ConfigurationFactory {
    private enum ProjectStatus {
        DEVELOPMENT,
        TEST,
        PRODUCTION
    }

    private static final ProjectStatus projectStatus = ProjectStatus.DEVELOPMENT;

    /**
     * Gets the configuration of the cloud firestore.
     *
     * @return Configuration details
     * @throws UnsupportedOperationException Cloud Firestore database is not created yet.
     */
    public static final FireStoreConfiguration getFireStoreConfiguration() throws UnsupportedOperationException {
        FireStoreConfiguration fireStoreConfiguration = null;
        switch (projectStatus) {
            case PRODUCTION:
            case TEST:
                throw new UnsupportedOperationException("Not implemented");
            case DEVELOPMENT:
                fireStoreConfiguration = DevelopmentFireStoreConfiguration.getFireStoreConfiguration();
                break;
        }
        return fireStoreConfiguration;
    }
}

Add javadoc for configuration factory