mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
16.40.2007 0a2e22293f5c36807d89441f9bd8c56ae0b59097
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
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.opends.org/admin-cli"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified" xmlns:adm="http://www.opends.org/admin"
  xmlns:tns="http://www.opends.org/admin-cli">
  <xsd:import namespace="http://www.opends.org/admin"
    schemaLocation="admin.xsd" />
  <xsd:annotation>
    <xsd:documentation>
      This schema defines the elements and attributes of the "cli"
      profile. This profile provides the ability to annotate managed
      object definitions, properties, and relations with additional
      information which the CLI can use to provide a better user
      experience.
    </xsd:documentation>
  </xsd:annotation>
  <xsd:element name="managed-object">
    <xsd:annotation>
      <xsd:documentation>
        Defines CLI annotations for use with managed object definitions.
      </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:attribute name="custom" default="false" type="xsd:boolean">
        <xsd:annotation>
          <xsd:documentation>
            Indicates whether the CLI should refer to this managed
            object type as "custom" as opposed to "generic". Custom
            managed object types generally are the top-level type of
            component (e.g. connection-handler but not
            ldap-connection-handler) having a non-advanced java-class
            property. Users create this type of component with a custom
            implementation class. It is better to refer to these as
            "custom" since the term "generic" can mislead users (e.g.
            many users confuse a generic backend as being a JE backend).
          </xsd:documentation>
        </xsd:annotation>
      </xsd:attribute>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="relation">
    <xsd:annotation>
      <xsd:documentation>
        Defines CLI annotations for use with relation definitions.
      </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="default-property" minOccurs="0"
          maxOccurs="unbounded">
          <xsd:annotation>
            <xsd:documentation>
              The name of a property in the referenced managed object
              (or one of its sub-types) which will be displayed by
              default in list-xxx sub-commands.
            </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:attribute name="name" type="adm:name-type"
              use="required">
              <xsd:annotation>
                <xsd:documentation>
                  The name of a property in the referenced managed
                  object (or one of its sub-types) which will be
                  displayed by default in list-xxx sub-commands.
                </xsd:documentation>
              </xsd:annotation>
            </xsd:attribute>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>