Interface LightWeightProcessInstance

    • Method Detail

      • getTemplateID

        UUID getTemplateID()
        Returns the ID of the referenced template. This is for internal use only! Do not call this method!
        Returns:
        The process template ID of this lightweight process.
      • fork

        boolean fork()
        Returns whether the referenced template should be instantiated as separated top-level process instead of a "real" process. This is mutually exclusive with isEmbedded().
        Returns:
        Whether the referenced template should be instantiated as separated top-level process instead of a "real" process.
        See Also:
        ReferencedProcess.fork()
      • isEmbedded

        boolean isEmbedded()
        Returns whether the lightweight process is embedded in the parent process (or referenced). This is needed for checking the subprocess usage (TemplateStatus.getUsageAsSubprocess()) when creating a subprocess instance. This is mutually exclusive with fork().
        Returns:
        Whether the lightweight process is embedded in the parent process.
        See Also:
        EmbeddedProcess