Package wt.sandbox

Class SandboxConfigSpec

java.lang.Object
wt.sandbox.SandboxConfigSpec
All Implemented Interfaces:
Externalizable, Serializable, Evolvable, ConfigSpec

public class SandboxConfigSpec extends Object implements ConfigSpec, Evolvable, Externalizable
A ConfigSpec implementation with the essentially the following logic. [The implementation is more complex than this and leverages various constraints placed on sandbox baselines and versions.]
  • If there is a latest, non-terminal iteration (i.e. a latest iteration with a WorkInProgressState other than TERMINAL) in the sandbox container, select it (or more specifically if the user has checked out (via WIP) their own working copy, then select it, else select the iteration where WorkInProgressState is not WORKING).
  • Else, if an iteration is in the sandbox's baseline, then select it.
  • Else, if a non-null 'userConfigSpec' has been specified, select the iteration selected by 'userConfigSpec'.


Supported API: true

Extendable: false
See Also: