単純置換変数は、構成ファイルを含むすべての入力ソースで使用できます。 また外部コンポーネント置換変数と対象置換変数は、installSteps、uninstallSteps、controlService、executionPlans の varList/var のデフォルト値など多くの場合に使用できます。
以下に、どの入力ソースでどの種類の置換変数を使用できるかを列挙した完全な一覧を示します。
入力ソース |
使用可能な変数の種類 |
---|---|
<component>/<varList>/<var>/default attribute variable settings override value |
|
入力ソース |
使用可能な変数の種類 |
---|---|
<component>/<resourceRef>/<resource> <component>/installPath |
|
入力ソース |
使用可能な変数の種類 |
---|---|
<component>/<diff>/<ignore> 構成ファイル |
コンポーネント置換参照 |
入力ソース |
使用可能な変数の種類 |
---|---|
<executionPlan>/<paramList>/<param>/default attribute |
セッション変数参照 |
入力ソース |
使用可能な変数の種類 |
---|---|
<executionPlan>/*/child steps |
|
入力ソース |
使用可能な変数の種類 |
---|---|
hostAttributes |
セッション変数参照 |
以下のコンポーネント構成属性は、その属性の右にある置換変数の定義を含むことができます。
親要素 |
置換可能な属性 |
---|---|
capture/addFile component installSpec |
displayName installPath name |
installSpec |
path |
installSpec |
permissions |
installSpec |
user |
installSpec installSpec installSpec |
group deployMode diffDeploy |
diff/ignore |
path |
varList/var |
default |
paramList/param |
default |
capture/addFile |
path |
以下のコンポーネントまたはプラン内の手順の構成属性は、その属性の右にある置換変数の定義を含むことができます。
親要素 |
置換可能な属性 |
---|---|
argList/arg |
value |
execJavaexecJavaexecNative |
classNameclassPathdir |
execNative/ouputFile |
name |
execNative/errorFile |
name |
execNative/env |
name |
execNative/env |
value |
execNative/exec |
cmd |
execNative/exec/arg |
value |
execNative/shell |
cmd |
execNative/shell |
<body> |
execNative/successCriteria |
outputMatches |
execNative/successCriteria |
errorMatches |
execNative/inputText |
<body> |
execNative/inputFile |
name |
execNative if/condition/istrue if/condition/equals if/condition/equals if/condition/matches if/condition/matches |
userToRunAs value value1 value2 value pattern |
processTest |
processNamePattern |
processTest raise retarget retarget/varList/var |
user message host default |
sendCustomEvent |
message |
transform |
input |
transform |
output |
transform/stylesheet |
<body> |
transform/subst |
match |
transform/subst |
replace |
transform/source |
name |
uninstallComponent |
installPath |
urlTest |
url |
urlTest |
pattern |
以下のプラン構成属性は、その属性の右にある置換変数の定義を含むことができます。
親要素 |
置換可能な属性 |
---|---|
varList/var |
default |
以下のインストール済みコンポーネントターゲッター構成属性は、その属性の右にある置換変数の定義を含むことができます。
親要素 |
置換可能な属性 |
---|---|
installedComponent installedComponent systemType systemType toplevelRef toplevelRef |
installPath host installPath host installPath host |
以下のリポジトリコンポーネントターゲッター構成属性は、その属性の右にある置換変数の定義を含むことができます。
親要素 |
置換可能な属性 |
---|---|
component toplevelRef |
host host |