1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!--***********************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2008 by Sun Microsystems, Inc.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * $RCSfile: Jobs.xcs,v $
13 * This file is part of OpenOffice.org.
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org. If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
30 ************************************************************************ -->
31 <!DOCTYPE oor:component-schema SYSTEM
"../../../../component-schema.dtd">
32 <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>
34 <desc >Contains information about registered jobs, bound on events.
</desc>
37 <group oor:
name=
"Job">
39 <desc>Describes an UNO service, which is registered for a special event.
</desc>
41 <prop oor:
name=
"Service" oor:
type=
"xs:string">
43 <desc>Must contain an UNO implementation(!) name of the implemented job component.
</desc>
46 <group oor:
name=
"Arguments" oor:
extensible=
"true">
48 <desc>Can be filled with any argument, which is under control of the job component.
</desc>
52 <group oor:
name=
"TimeStamp">
54 <desc>Is used to enable/disable a job execution related to a triggered event.
</desc>
56 <prop oor:
name=
"AdminTime" oor:
type=
"xs:string">
58 <desc>If it's newer then UserTime, the job will be reactivated next time.
</desc>
60 <value>2003-
01-
01T00:
00:
00+
00:
00</value>
62 <prop oor:
name=
"UserTime" oor:
type=
"xs:string">
64 <desc>If it's newer then AdminTime, the job is deactivated for execution.
</desc>
66 <value>2003-
01-
01T00:
00:
00+
00:
00</value>
69 <group oor:
name=
"Event">
71 <desc>Describe a state, which can be detected at runtime and will be used to start jobs, which are registered for it.
</desc>
73 <set oor:
name=
"JobList" oor:
node-type=
"TimeStamp">
75 <desc>This list contains all registered jobs, which wish to be executed, if the coressponding event was triggered.
</desc>
81 <set oor:
name=
"Jobs" oor:
node-type=
"Job">
83 <desc>This list contains all well known job components and it's properties.
</desc>
86 <set oor:
name=
"Events" oor:
node-type=
"Event">
88 <desc>Here jobs can be bound to events and can be enabled/disable by using TimeStamp values.
</desc>
92 </oor:component-schema>