com.ptc.windchill.upgrade.util
Class Constants

java.lang.Object
  extended bycom.ptc.windchill.upgrade.util.Constants

public class Constants
extends Object


Field Summary
static String ID_ATTR
           
static String INCREMENTAL_UPDATE_TAG
           
static String NAME_ATTR
           
private static String PHASES_DIR
           
private static String REPORTS_DIR
           
private static String UPGRADE_DIR
           
static String UUID_ATTR
           
 
Constructor Summary
Constants()
           
 
Method Summary
static File getUpgradeDirectory()
          Looks up the $(wt.home)/Upgrade dir.
static File getUpgradePhasesDirectory()
          Looks up the $(wt.home)/Upgrade/UpgradePhases dir.
static File getUpgradeReportsDirectory()
          Looks up the $(wt.home)/Upgrade/UpgradeReports dir.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID_ATTR

public static final String ID_ATTR
See Also:
Constant Field Values

INCREMENTAL_UPDATE_TAG

public static final String INCREMENTAL_UPDATE_TAG
See Also:
Constant Field Values

NAME_ATTR

public static final String NAME_ATTR
See Also:
Constant Field Values

UUID_ATTR

public static final String UUID_ATTR
See Also:
Constant Field Values

UPGRADE_DIR

private static final String UPGRADE_DIR
See Also:
Constant Field Values

PHASES_DIR

private static final String PHASES_DIR
See Also:
Constant Field Values

REPORTS_DIR

private static final String REPORTS_DIR
See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()
Method Detail

getUpgradeDirectory

public static File getUpgradeDirectory()
                                throws IOException
Looks up the $(wt.home)/Upgrade dir. This method does not cache the looked up directory. Calling it repeatedly can be inefficient

Throws:
IOException - if there's a problem reading wt.properties.

getUpgradeReportsDirectory

public static File getUpgradeReportsDirectory()
                                       throws IOException
Looks up the $(wt.home)/Upgrade/UpgradeReports dir. This method does not cache the looked up directory. Calling it repeatedly can be inefficient

Throws:
IOException - if there's a problem reading wt.properties.

getUpgradePhasesDirectory

public static File getUpgradePhasesDirectory()
                                      throws IOException
Looks up the $(wt.home)/Upgrade/UpgradePhases dir. This method does not cache the looked up directory. Calling it repeatedly can be inefficient

Throws:
IOException - if there's a problem reading wt.properties.