summaryrefslogtreecommitdiffstats
path: root/officecfg/registry/schema/org/openoffice/Office/Jobs.xcs
blob: b6beb5416e16a9f2b26385aa906dc506caeecf7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Jobs" oor:package="org.openoffice.Office" xml:lang="en-US">
  <info>
    <desc>Contains information about registered jobs, bound on events.</desc>
  </info>
  <templates>
    <group oor:name="Job">
      <info>
        <desc>Describes a UNO service, which is registered for a special event.</desc>
      </info>
      <prop oor:name="Service" oor:type="xs:string">
        <info>
          <desc>Must contain a UNO implementation(!) name of the implemented job component.</desc>
        </info>
      </prop>
      <prop oor:name="Context" oor:type="xs:string">
        <info>
          <desc>An property to define the context this event should be active in. It can be empty or a colon separated list of the supported application modules.</desc>
        </info>
      </prop>
      <group oor:name="Arguments" oor:extensible="true">
        <info>
          <desc>Can be filled with any argument, which is under control of the job component.</desc>
        </info>
      </group>
    </group>
    <group oor:name="TimeStamp">
      <info>
        <desc>Is used to enable/disable a job execution related to a triggered event.</desc>
      </info>
      <prop oor:name="AdminTime" oor:type="xs:string" oor:nillable="false">
        <info>
          <desc>If it's newer then UserTime, the job will be reactivated next time.</desc>
        </info>
        <value>2003-01-01T00:00:00+00:00</value>
      </prop>
      <prop oor:name="UserTime" oor:type="xs:string" oor:nillable="false">
        <info>
          <desc>If it's newer then AdminTime, the job is deactivated for execution.</desc>
        </info>
        <value>2003-01-01T00:00:00+00:00</value>
      </prop>
    </group>
    <group oor:name="Event">
      <info>
        <desc>Describe a state, which can be detected at runtime and will be used to start jobs, which are registered for it.</desc>
      </info>
      <set oor:name="JobList" oor:node-type="TimeStamp">
        <info>
          <desc>This list contains all registered jobs, which wish to be executed, if the corresponding event was triggered.</desc>
        </info>
      </set>
    </group>
  </templates>
  <component>
    <set oor:name="Jobs" oor:node-type="Job">
      <info>
        <desc>This list contains all well known job components and it's properties.</desc>
      </info>
    </set>
    <set oor:name="Events" oor:node-type="Event">
      <info>
        <desc>Here jobs can be bound to events and can be enabled/disable by using TimeStamp values.</desc>
      </info>
    </set>
  </component>
</oor:component-schema>