パターン・パラメーター値を変更するために、Java API を使ってパターン・インスタンスを変更します。
patternInstanceManager.setParameterValue("pp1", "true");