Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.task.lifecycle--lifecycle

This contribution is part of XML component org.nuxeo.ecm.platform.task.lifecycle inside nuxeo-platform-task-core-7.10-HF05.jar /OSGI-INF/task-lifecycle-contrib.xml

Extension point

Extension point lifecycle of component LifeCycleService.

Contributed items

  • <lifecycle defaultInitial="opened" name="task">
          <transitions>
            <transition destinationState="ended" name="end">
              <description>End the task</description>
            </transition>
            <transition destinationState="cancelled" name="cancel">
              <description>Cancel the task</description>
            </transition>
          </transitions>
          <states>
            <state description="Task is open." name="opened">
              <transitions>
                <transition>end</transition>
                <transition>cancel</transition>
              </transitions>
            </state>
            <state description="task has been ended" name="ended">
            </state>
            <state description="Task is cancelled" name="cancelled">
            </state>
          </states>
        </lifecycle>

    Cancel the task

XML source

<extension point="lifecycle" target="org.nuxeo.ecm.core.lifecycle.LifeCycleService">

    <lifecycle defaultInitial="opened" name="task">
      <transitions>
        <transition destinationState="ended" name="end">
          <description>End the task</description>
        </transition>
        <transition destinationState="cancelled" name="cancel">
          <description>Cancel the task</description>
        </transition>
      </transitions>
      <states>
        <state description="Task is open." name="opened">
          <transitions>
            <transition>end</transition>
            <transition>cancel</transition>
          </transitions>
        </state>
        <state description="task has been ended" name="ended">
        </state>
        <state description="Task is cancelled" name="cancelled">
        </state>
      </states>
    </lifecycle>

  </extension>