Type Parameters:
WS - the work state of the parent activity run
All Implemented Interfaces:
DebugDumpable

@Experimental public class VirtualActivityState<WS extends AbstractActivityWorkStateType> extends CurrentActivityState<WS>
The state of a virtual child activity. Virtual activities are used to provide state information for "activities" that do not exist in reality: they have no definition, no run (AbstractActivityRun), and we only want to keep track of their state and progress (e.g. to display that in the GUI). A typical reason for using such activities (and not regular ones) is the situation where the execution of the the parent activity is tightly coupled with the execution of its children, so it's not practical to divide them into separate AbstractActivityRun classes. Virtual activity state has no work state, and other items may be empty as well (e.g., bucketing).