jp.ossc.installer.tools.inventory
クラス CheckApplication

java.lang.Object
  上位を拡張 jp.ossc.installer.tools.inventory.AbstaractInventory
      上位を拡張 jp.ossc.installer.tools.inventory.AbstractCheckInventory
          上位を拡張 jp.ossc.installer.tools.inventory.CheckApplication

public class CheckApplication
extends AbstractCheckInventory

インベントリーディレクトリーにおいてアプリケーションがインストールされているか確認処理を担うクラスです。

導入されたバージョン:
1.0
バージョン:
1.0
作成者:
S.Fujii

フィールドの概要
 
クラス jp.ossc.installer.tools.inventory.AbstractCheckInventory から継承されたフィールド
ERR_MSG_NOT_INSTALLED_OPENSTANDIA
 
クラス jp.ossc.installer.tools.inventory.AbstaractInventory から継承されたフィールド
ERR_MSG_FAILED_READ_FILE, inventory, INVENTORY_TEMPLATE_XML_FILE_PATH_NAME, NOT_INSTALLED_VALUE, openStandiaHomeDir, PRODUCT_NAME, PRODUCT_VER, STACK_APPLICATION_NAME_KEY, STACK_APPLICATION_VER_KEY, stackXmlMap, WARN_MSG_APPLICATION_NAME_IS_NULL, WARN_MSG_APPLICATION_VERSION_IS_NULL, WARN_MSG_PRODUCT_NAME_IS_NULL, WARN_MSG_PRODUCT_VERSION_IS_NULL
 
コンストラクタの概要
CheckApplication()
           
 
メソッドの概要
 void execute(java.lang.String applicationName, java.io.File stackXml)
          インベントリーファイルからアプリケーション情報をコンソールに出力します。
 
クラス jp.ossc.installer.tools.inventory.AbstaractInventory から継承されたメソッド
createInventoryFile, deleteApplicationNode, deleteInventoryFile, deleteProductNode, existsProductNode, getApplicationVerNode, getProductNodeNum, getProductVerNode, getResouceInputStream, getResoucePath, readInventoryFile, writeApplicationNode, writeInventoryFile, writeProductNode
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CheckApplication

public CheckApplication()
メソッドの詳細

execute

public void execute(java.lang.String applicationName,
                    java.io.File stackXml)
             throws java.io.IOException,
                    javax.xml.parsers.ParserConfigurationException,
                    org.xml.sax.SAXException,
                    javax.xml.transform.TransformerException
インベントリーファイルからアプリケーション情報をコンソールに出力します。
※ さらにアプリケーションがインストールされていない場合は、RuntimeExceptionを発生します。

オーバーライド:
クラス AbstractCheckInventory 内の execute
パラメータ:
applicationName - アプリケーション名
stackXml - スタック定義ファイル
例外:
java.io.IOException - IOException
org.xml.sax.SAXException - SAXException
javax.xml.parsers.ParserConfigurationException - ParserConfigurationException
javax.xml.transform.TransformerException - TransformerException
関連項目:
jp.ossc.installer.tools.inventory.AbstaractCheckInventory#execute(java.lang.String, java.io.File)