Enum InfobaseSynchronizationState

    • Enum Constant Detail

      • NOT_CONNECTED

        public static final InfobaseSynchronizationState NOT_CONNECTED
        Default state, representing that connection between project and infobase is not exist yet.
      • UNSYNCHRONIZED

        public static final InfobaseSynchronizationState UNSYNCHRONIZED
        Unsynchronized state of connection between project and infobase.

        Configuration of the project is not equals to the infobase configuration. Full load of the project configuration is expected to synchronize them. Incremental loading is deprecated until project will be fully synchronized with the connected infobase.

      • SYNCHRONIZING

        public static final InfobaseSynchronizationState SYNCHRONIZING
        Synchronizing state of connection between project and infobase.

        Configuration of the project is equals to the infobase configuration, but the project resources are not synchronized with the project BM model yet. Incremental loading (as well as full loading) is deprecated until project BM model will be synchronized with workspace resources.

      • SYNCHRONIZED

        public static final InfobaseSynchronizationState SYNCHRONIZED
        Synchronized state of connection between project and infobase.

        Configuration of the project is equals to the infobase configuration. Incremental loading is possible.

      • MERGING

        public static final InfobaseSynchronizationState MERGING
        Merging state of connection between project and infobase.

        Configuration of the project differs from the infobase configuration but project is now merging with infobase configuration object differences. All infobase operations must be suppressed until merge is complete.

    • Method Detail

      • values

        public static InfobaseSynchronizationState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (InfobaseSynchronizationState c : InfobaseSynchronizationState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InfobaseSynchronizationState valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromString

        public static InfobaseSynchronizationState fromString​(String value)
        Creates the infobase connection state from string value.
        Parameters:
        value - the string value, cannot be null
        Returns:
        the infobase connection state from string value, never null
      • getDescription

        public String getDescription()
        Returns the localized description of the state.
        Returns:
        the localized description of the state, never null