xref: /AOO41X/main/officecfg/registry/schema/org/openoffice/Office/Jobs.xcs (revision dde344203169340759d4fac2605ca8b407ef0eef)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22
23
24<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
25<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>
26        <author>AS</author>
27        <desc >Contains information about registered jobs, bound on events.</desc>
28    </info>
29    <templates>
30        <group oor:name="Job">
31                    <info>
32                <desc>Describes an UNO service, which is registered for a special event.</desc>
33            </info>
34                    <prop oor:name="Service" oor:type="xs:string">
35                        <info>
36                    <desc>Must contain an UNO implementation(!) name of the implemented job component.</desc>
37                </info>
38                    </prop>
39                    <prop oor:name="Context" oor:type="xs:string">
40                        <info>
41                    <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>
42                </info>
43                    </prop>
44                    <group oor:name="Arguments" oor:extensible="true">
45                        <info>
46                    <desc>Can be filled with any argument, which is under control of the job component.</desc>
47                </info>
48                    </group>
49            </group>
50            <group oor:name="TimeStamp">
51                    <info>
52                <desc>Is used to enable/disable a job execution related to a triggered event.</desc>
53            </info>
54                    <prop oor:name="AdminTime" oor:type="xs:string">
55                        <info>
56                    <desc>If it's newer then UserTime, the job will be reactivated next time.</desc>
57                </info>
58                        <value>2003-01-01T00:00:00+00:00</value>
59                    </prop>
60                    <prop oor:name="UserTime" oor:type="xs:string">
61                        <info>
62                    <desc>If it's newer then AdminTime, the job is deactivated for execution.</desc>
63                </info>
64                        <value>2003-01-01T00:00:00+00:00</value>
65                    </prop>
66            </group>
67            <group oor:name="Event">
68                    <info>
69                <desc>Describe a state, which can be detected at runtime and will be used to start jobs, which are registered for it.</desc>
70            </info>
71                    <set oor:name="JobList" oor:node-type="TimeStamp">
72                        <info>
73                    <desc>This list contains all registered jobs, which wish to be executed, if the coressponding event was triggered.</desc>
74                </info>
75                    </set>
76            </group>
77    </templates>
78    <component>
79        <set oor:name="Jobs" oor:node-type="Job">
80                    <info>
81                <desc>This list contains all well known job components and it's properties.</desc>
82            </info>
83        </set>
84        <set oor:name="Events" oor:node-type="Event">
85                    <info>
86                <desc>Here jobs can be bound to events and can be enabled/disable by using TimeStamp values.</desc>
87            </info>
88        </set>
89    </component>
90</oor:component-schema>
91