|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.etools.iseries.projects.core.IBMiProjectUtil
public class IBMiProjectUtil
Utility methods on i Projects
| Field Summary | |
|---|---|
static int |
LEVEL_1
|
static int |
LEVEL_2
|
static String |
PROJECT_PROPERTIES_FILE
|
| Constructor Summary | |
|---|---|
IBMiProjectUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
hasISeriesNature(IPath projectDescriptionFile)
Tests if the project has the iSeriesProject nature. |
static boolean |
hasISeriesNature(IProject project)
Tests if the project has the iSeriesProject nature. |
static boolean |
isUsingMetadataLevel(int level,
IProject project)
Given the level of metadata format desired, this function will return whether the given project is using that level of metadata. |
static boolean |
isUsingNewPropertiesModel(IProject project)
Return whether this project is still using the new .properties type properties model |
static boolean |
isUsingOldPropertiesModel(IProject project)
Return whether this project is still using the old .xml type properties model |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROJECT_PROPERTIES_FILE
public static final int LEVEL_1
public static final int LEVEL_2
| Constructor Detail |
|---|
public IBMiProjectUtil()
| Method Detail |
|---|
public static final boolean hasISeriesNature(IProject project)
project - The IPproject we want to make sure is an i Project
public static final boolean hasISeriesNature(IPath projectDescriptionFile)
projectDescriptionFile - the path to the project description file on the local file system that we want to make sure describes an i Project
public static boolean isUsingMetadataLevel(int level,
IProject project)
level - can be LEVEL_1 or LEVEL_2project - the project whose metadata level we are querying.
public static boolean isUsingNewPropertiesModel(IProject project)
project - - the IProject in question
public static boolean isUsingOldPropertiesModel(IProject project)
project - - the IProject in question
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||