<!--
  ~ Copyright (c) 2020 Evolveum and contributors
  ~
  ~ Licensed under the EUPL-1.2 or later.
  -->

<archetype oid="00000000-0000-0000-0000-000000000510"
        xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
        xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
        xmlns:rext="http://midpoint.evolveum.com/xml/ns/public/report/extension-3">
    <name>Report import task</name>
    <archetypePolicy>
        <display>
            <label>
                <orig>Report import task</orig>
                <translation>
                    <key>ReportImportTask.label</key>
                </translation>
            </label>
            <pluralLabel>
                <orig>Report import tasks</orig>
                <translation>
                    <key>ReportImportTasks.title</key>
                </translation>
            </pluralLabel>
            <icon>
                <cssClass>fa fa-upload</cssClass>
                <color>green</color>
            </icon>
        </display>
        <itemConstraint id="1">
            <path>extension/rext:reportParam</path>
            <visibility>hidden</visibility>
        </itemConstraint>
        <adminGuiConfiguration>
            <objectDetails>
                <type>TaskType</type>
                <panel id="2">
                    <identifier>activity</identifier>
                    <panel id="3">
                        <identifier>work</identifier>
                        <container id="4">
                            <identifier>reportImport</identifier>
                            <path>activity/work/reportImport</path>
                        </container>
                    </panel>
                </panel>
            </objectDetails>
        </adminGuiConfiguration>
    </archetypePolicy>
    <assignment id="5">
        <identifier>holderType</identifier>
        <assignmentRelation id="6">
            <holderType>TaskType</holderType>
        </assignmentRelation>
    </assignment>
    <superArchetypeRef oid="00000000-0000-0000-0000-000000000507" type="c:ArchetypeType"/>
</archetype>
