Le fichier plugin.xml contient les métadonnées de définition du bundle de tâches, des tâches, des opérations de tâche, ainsi que les paramètres de tâche que vous indiquez lorsque vous utilisez le générateur de bundles de tâches.
<plugin>
<extension
point="com.ibm.tivoli.fas.task.bundle">
<taskBundle>
<task
description="description_tâche"
id="ID_unique_tâche"
name="nom_affichage_tâche"
platform="linux_ia64|win_ia64|aix_ia64"
target="nom_système_gestion"
taskHelpFile="taskid_directory/help/index.html"
taskSource="taskid_directory/
"type="Configuration"
version="numéro_version">
<taskAction
ACTION_FAILURE="return_code_value"
ERROR="return_code_value"
OK="return_code_value"
WARNING="return_code_value"
action="./task_command.sh [%task_parameter%]|
task_command.bat [%task_parameter%]"
description="description_action_tâche"
language="command-line"
type="healthCheck|prereqCheck|automation|fetchConfig">
verificationOn="returnCode">
<parameter
defaultValue="valeur_par_défaut_paramètre"
isOptional="false|true"
isStatic="true|false"
name="nom_paramètre"
type="String|Password|">
</parameter>
<parameter>...</parameter>
</taskAction>
<taskAction>...</taskAction>
</task>
<task>...</task>
</taskbundle>
</extension>
</plugin>
<plugin>
<extension
point="com.ibm.tivoli.fas.task.bundle">
<taskBundle>
<task
description="IBM Tivoli Common Reporting -
Check and update log append setting for Derby database"
id="TCR-derby-log-config-check"
name="Best Practice: Configure log settings for Derby database"
platform="win_ia64"
target="TCR"
taskHelpFile="TCR-derby-properties-check-1/help/index.html"
taskSource="TCR-derby-properties-check-1/"
type="Configuration"
version="1.0.0">
<taskAction
ACTION_FAILURE="127"
ERROR="1"
OK="0"
WARNING="5"
action="tcr-derby-properties-check-1.bat %tip_install_dir%"
description="Check log append setting for Derby database"
language="command-line"
type="healthCheck"
verificationOn="returnCode">
<parameter
defaultValue="C:\IBM\tivoli\tipv2"
isOptional="false"
isStatic="true"
name="tip_install_dir"
type="String">
</parameter>
</taskAction>
<taskAction
ACTION_FAILURE="127"
ERROR="1"
OK="0"
WARNING="5"
action="tcr-derby-properties-update-1.bat %tip_install_dir%
%log_append% %tcr_component_dir% %tip_user% %tip_pass%"
description="Update log append setting for Derby database"
language="command-line"
type="automation"
verificationOn="returnCode">
<parameter
defaultValue="C:\IBM\tivoli\tipv2"
isOptional="false"
isStatic="true"
name="tip_install_dir"
type="String">
</parameter>
<parameter
defaultValue="false"
isOptional="false"
isStatic="false"
name="log_append"
type="String">
</parameter>
<parameter
defaultValue="C:\IBM\tivoli\tipv2Components\TCRComponent"
isOptional="false"
isStatic="true"
name="tcr_component_dir"
type="String">
</parameter>
<parameter
defaultValue="tipuser"
isOptional="false"
isStatic="true"
name="tip_user"
type="String">
</parameter>
<parameter
defaultValue="mypassword"
isOptional="false"
isStatic="true"
name="tip_pass"
type="Password">
</parameter>
</taskAction>
</task>
<task>...</task>
</taskbundle>
</extension>
</plugin>