Show Table of Contents
15.2. XMLソース
実行シナリオを書き始める前に、
ProcessDefinition を作成する必要があります。 ProcessDefinition オブジェクトを取得する最も簡単な方法は、XML を構文解析することです。 ProcessDefinition.parse とタイプして、 コード補完機能を起動させてください。 構文解析を行うさまざまなメソッドが表示されます。ProcessDefinition オブジェクトに構文解析可能な基本的記述方法は 3 つあります。
15.2.1. プロセスアーカイブの構文解析
プロセスアーカイブとは、
processdefinition.xml というプロセスの XML ファイルが含まれている zip ファイルです。JBPM プロセスデザイナープラグインはプロセスアーカイブを読み書きします。
static ProcessDefinition auctionProcess =
ProcessDefinition.parseParResource("org/jbpm/tdd/auction.par");
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.