|
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.Object com.ibm.etools.iseries.perspective.model.util.ISeriesProjectBasicUtil
public class ISeriesProjectBasicUtil
This is a utility class for using iSeries projects.
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
ISeriesProjectBasicUtil()
|
Method Summary | |
---|---|
static AbstractISeriesProject |
findISeriesProject(IProject project)
Finds the iSeries Project instance that represents the given IProject. |
static AbstractISeriesProject[] |
findISeriesProjects()
Returns all iSeries Projects. |
static AbstractISeriesProject[] |
findISeriesProjects(IBMiConnection connection,
IQSYSLibrary library)
Find the iSeriesProject[] that have the given library and connection as its properties. |
static AbstractISeriesProject[] |
findISeriesProjects(Properties projectProperties)
Returns all iSeries Projects that have the given properties. |
static AbstractISeriesNativeObject |
findSRCPF(AbstractISeriesNativeLibrary iSeriesNativeLibrary,
String sourceFileName)
Finds a source physical file in the given iSeries native library with the specified name. |
static AbstractISeriesNativeObject |
findSRCPF(AbstractISeriesProject iSeriesProject,
String sourceFileName)
Finds a source physical file in the given iSeries project with the specified name. |
static Properties |
getISeriesProjectProperties(IBMiConnection connection,
IQSYSLibrary library)
Returns a Properties object containing all the predefined properties of an iSeries Project. |
static boolean |
hasISeriesProjectNature(IProject project)
Utility method to test if a given project is an iSeries Project. |
static boolean |
isISeriesProject(IProject project)
Deprecated. use hasISeriesProjectNature instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
Constructor Detail |
---|
public ISeriesProjectBasicUtil()
Method Detail |
---|
public static final AbstractISeriesProject[] findISeriesProjects(IBMiConnection connection, IQSYSLibrary library)
library
- The associated library of the project to find.connection
- The connection associated with the project.
public static final AbstractISeriesProject findISeriesProject(IProject project)
project
- The IProject that you want to find.
null
if no project was found.public static final AbstractISeriesProject[] findISeriesProjects(Properties projectProperties)
projectProperties
- The project properties to look for.
public static final AbstractISeriesProject[] findISeriesProjects()
public static final boolean isISeriesProject(IProject project) throws CoreException
project
- Project to test.
CoreException
- if this method fails. Reasons include: This project does not
exist. This project is not open.public static final boolean hasISeriesProjectNature(IProject project)
project
- Project to test.
public static final Properties getISeriesProjectProperties(IBMiConnection connection, IQSYSLibrary library)
library
- becomes the associated library property of the project.connection
- connection to be associated with an iSeries project. Most
iSeries project properties are obtained from this parameter.
public static final AbstractISeriesNativeObject findSRCPF(AbstractISeriesProject iSeriesProject, String sourceFileName)
iSeriesProject
- The iSeries project to search in.sourceFileName
- The name of the source physical file to find.
public static final AbstractISeriesNativeObject findSRCPF(AbstractISeriesNativeLibrary iSeriesNativeLibrary, String sourceFileName)
iSeriesNativeLibrary
- The iSeries project to search in.sourceFileName
- The name of the source physical file to find.
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |