git-svn-id: http://talendforge.org/svn/tos/trunk@73207 f6f1c999-d317-4740-80b0-e6d1abc6f99e
312 lines
9.3 KiB
XML
312 lines
9.3 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!-- Schema file written by PDE -->
|
|
<schema targetNamespace="org.talend.core" xmlns="http://www.w3.org/2001/XMLSchema">
|
|
<annotation>
|
|
<appInfo>
|
|
<meta.schema plugin="org.talend.core" id="cli_command" name="CommandLine Command"/>
|
|
</appInfo>
|
|
<documentation>
|
|
[Enter description of this extension point.]
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<element name="extension">
|
|
<annotation>
|
|
<appInfo>
|
|
<meta.element />
|
|
</appInfo>
|
|
</annotation>
|
|
<complexType>
|
|
<sequence minOccurs="1" maxOccurs="unbounded">
|
|
<element ref="Command"/>
|
|
</sequence>
|
|
<attribute name="point" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="id" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="name" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute translatable="true"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="Command">
|
|
<complexType>
|
|
<sequence minOccurs="0" maxOccurs="unbounded">
|
|
<element ref="Group" minOccurs="0" maxOccurs="1"/>
|
|
<element ref="Argument" minOccurs="0" maxOccurs="1"/>
|
|
</sequence>
|
|
<attribute name="id" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
Command Index
|
|
it's optional.
|
|
if don't set, will generte it automatically by default
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute deprecated="true"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="name" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="description" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="required" type="boolean">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="modeSupport" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
split by comma(,)
|
|
if not support, will be add ! before mode.
|
|
the values must be NORMAL, SERVER, SERVER_SHELL, SERVER_JAVA_PROTOCOL, SHELL
|
|
the empty will support all modes
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="filterType">
|
|
<annotation>
|
|
<documentation>
|
|
if empty, will same as ALL
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="identifier"/>
|
|
</appInfo>
|
|
</annotation>
|
|
<simpleType>
|
|
<restriction base="string">
|
|
<enumeration value="REMOTE">
|
|
</enumeration>
|
|
<enumeration value="LOCAL">
|
|
</enumeration>
|
|
<enumeration value="ALL">
|
|
</enumeration>
|
|
</restriction>
|
|
</simpleType>
|
|
</attribute>
|
|
<attribute name="inner" type="boolean">
|
|
<annotation>
|
|
<documentation>
|
|
if inner is false, will wait other command to execut.
|
|
if true, will execut immediately
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="serverCommand" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="java" basedOn="org.talend.commandline.client.command.extension.AbstractServerCommand:"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="executeCommand" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="java" basedOn=":org.talend.commandline.client.command.extension.IExecuteCommand"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="Option">
|
|
<complexType>
|
|
<sequence>
|
|
<element ref="Argument" minOccurs="0" maxOccurs="1"/>
|
|
</sequence>
|
|
<attribute name="name" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="shortName" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="longName" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="description" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="filterType">
|
|
<annotation>
|
|
<documentation>
|
|
if empty, will same as ALL
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="identifier"/>
|
|
</appInfo>
|
|
</annotation>
|
|
<simpleType>
|
|
<restriction base="string">
|
|
<enumeration value="REMOTE">
|
|
</enumeration>
|
|
<enumeration value="LOCAL">
|
|
</enumeration>
|
|
<enumeration value="ALL">
|
|
</enumeration>
|
|
</restriction>
|
|
</simpleType>
|
|
</attribute>
|
|
<attribute name="required" type="boolean">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="Argument">
|
|
<complexType>
|
|
<attribute name="name" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="description" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="min" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="max" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="filterType">
|
|
<annotation>
|
|
<documentation>
|
|
if empty, will same as ALL
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="identifier"/>
|
|
</appInfo>
|
|
</annotation>
|
|
<simpleType>
|
|
<restriction base="string">
|
|
<enumeration value="REMOTE">
|
|
</enumeration>
|
|
<enumeration value="LOCAL">
|
|
</enumeration>
|
|
<enumeration value="ALL">
|
|
</enumeration>
|
|
</restriction>
|
|
</simpleType>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="Group">
|
|
<complexType>
|
|
<sequence minOccurs="1" maxOccurs="unbounded">
|
|
<element ref="Option"/>
|
|
</sequence>
|
|
</complexType>
|
|
</element>
|
|
|
|
<annotation>
|
|
<appInfo>
|
|
<meta.section type="since"/>
|
|
</appInfo>
|
|
<documentation>
|
|
[Enter the first release in which this extension point appears.]
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appInfo>
|
|
<meta.section type="examples"/>
|
|
</appInfo>
|
|
<documentation>
|
|
[Enter extension point usage example here.]
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appInfo>
|
|
<meta.section type="apiinfo"/>
|
|
</appInfo>
|
|
<documentation>
|
|
[Enter API information here.]
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appInfo>
|
|
<meta.section type="implementation"/>
|
|
</appInfo>
|
|
<documentation>
|
|
[Enter information about supplied implementation of this extension point.]
|
|
</documentation>
|
|
</annotation>
|
|
|
|
|
|
</schema>
|