Enum ServiceOperation

  • All Implemented Interfaces:
    Serializable, Comparable<ServiceOperation>

    public enum ServiceOperation
    extends Enum<ServiceOperation>
    Service operation. Each operation represents a stage of the project processing pipeline. Service operations have different priorities (which determine the order the operations are executed in) and make different requirements to the execution environment (e.g. some of them can be executed in parallel with user operations, whereas others cannot, some can be executed exclusively only). Below is the list of all the service operations in the order of decreasing priority:
    • Import
    • UI-locking derived data
    • Export
    • Normal derived data, User-inactive derived data, Build
    • After-build derived data
    Requirements to execution environment see in constant descriptions.
    See Also:
    DerivedDataSegmentBucket
    • Enum Constant Detail

      • IMPORT

        public static final ServiceOperation IMPORT
        Import (creating/updating the internal model to correspond to the latest state of the project resources). Can be executed exclusively only.
      • EXPORT

        public static final ServiceOperation EXPORT
        Export (creating/updating the project resources to correspond to the latest state of the internal model). Can be executed in parallel with user operations.
      • AFTER_SYNC_DD

        public static final ServiceOperation AFTER_SYNC_DD
        After sync derived data. Can be executed exclusively only.
      • BEFORE_BUILD_DD

        public static final ServiceOperation BEFORE_BUILD_DD
        Derived data that should be computed prior the 'Build' but allow user operations. Can be executed in parallel with user operations.
      • NORMAL_DD

        public static final ServiceOperation NORMAL_DD
        Normal derived data. Can be executed in parallel with 'User-inactive derived data', 'Build' and user operations.
      • AFTER_BUILD_DD

        public static final ServiceOperation AFTER_BUILD_DD
        After-build derived data. Can be executed in parallel with user operations.
      • BUILD

        public static final ServiceOperation BUILD
        Build. Can be executed in parallel with 'Normal derived data' and 'User-inactive derived data'. Cannot be executed in parallel with user operations.
    • Method Detail

      • values

        public static ServiceOperation[] 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 (ServiceOperation c : ServiceOperation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ServiceOperation 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