<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="../plugin.xsl" type="text/xsl"?>
<plugin name="Chrono">
  <object class="org.ow2.isac.plugin.chrono.SessionObject">
    <params />
    <help>This plug-in makes it possible to measure the duration of a behavior segment and get a pseudo-sample event with this duration value. Once the chronograph is started by the appropriate control, the current duration value can be recorded by the split sample, and can be used as variable ${my_chrono:}.</help>
  </object>
  <test name="is_gt" number="0">
    <params>
      <param name="value" type="String" />
    </params>
    <help>current chrono value is greater than the given value</help>
  </test>
  <test name="is_gte" number="1">
    <params>
      <param name="value" type="String" />
    </params>
    <help>current chrono value is greater than or equals the given value</help>
  </test>
  <test name="is_lt" number="2">
    <params>
      <param name="value" type="String" />
    </params>
    <help>current chrono value is less than the given value</help>
  </test>
  <test name="is_lte" number="3">
    <params>
      <param name="value" type="String" />
    </params>
    <help>current chrono value is greater than or equals the given value</help>
  </test>
  <test name="is_on" number="4">
    <params />
    <help>chrono is started</help>
  </test>
  <test name="is_off" number="5">
    <params />
    <help>chrono is stopped</help>
  </test>
  <test name="is_suspended" number="6">
    <params />
    <help>chrono is suspended</help>
  </test>
  <control name="start" number="7">
    <params />
    <help>starts the chrono</help>
  </control>
  <control name="suspend" number="8">
    <params />
    <help>suspends the chrono</help>
  </control>
  <control name="resume" number="9">
    <params />
    <help>resumes the chrono</help>
  </control>
  <control name="drop" number="12">
    <params />
    <help>stops the chrono without creating a pseudo-sample</help>
  </control>
  <sample name="split" number="10">
    <params>
      <param name="successful" type="String" />
      <param name="comment" type="String" />
      <param name="result" type="String" />
    </params>
    <help>records current chrono value in a pseudo sample without stopping the chrono.</help>
  </sample>
  <sample name="stop" number="11">
    <params>
      <param name="successful" type="String" />
      <param name="comment" type="String" />
      <param name="result" type="String" />
    </params>
    <help>records current chrono value in a pseudo sample and stops the chrono.</help>
  </sample>
</plugin>

