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