Package com.e1c.langtool.v8.dt
Class DerivedDataUtils
java.lang.Object
com.e1c.langtool.v8.dt.DerivedDataUtils
Utility class for controlling the completion of derived data processes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final long -
Method Summary
Modifier and TypeMethodDescriptionstatic voidwaitComputation(IDerivedDataManagerProvider ddManagerProvider, IResourceLookup resourceLookup, DerivedDataUtils.IDerivedDataAttr attr) Waits computation of derived data processes for the given derived data attributes.
-
Field Details
-
MD_SEGMENTS
-
FORM_SEGMENTS
-
MD_FORM_SEGMENTS
-
MINUTE_TIMEOUT
public static final long MINUTE_TIMEOUT- See Also:
-
HOUR_TIMEOUT
public static final long HOUR_TIMEOUT- See Also:
-
-
Method Details
-
waitComputation
public static void waitComputation(IDerivedDataManagerProvider ddManagerProvider, IResourceLookup resourceLookup, DerivedDataUtils.IDerivedDataAttr attr) Waits computation of derived data processes for the given derived data attributes.- Parameters:
ddManagerProvider- the provider to get derived data managerresourceLookup- the service to get project by object from attributes (seeDerivedDataUtils.IDerivedDataAttr.getObject())attr- the attributes for waiting derived data processes- Throws:
RuntimeException- if the derived data was not calculated for the specified timeout or in the case ofInterruptedException
-