com.ibm.etools.iseries.perspective.model.util
Class ISeriesProjectRSEUtil
java.lang.Object
com.ibm.etools.iseries.perspective.model.util.ISeriesProjectRSEUtil
public class ISeriesProjectRSEUtil
- extends Object
This is a utility class for dealing with RSE specific iSeries project
concepts.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final String copyright
- See Also:
- Constant Field Values
ISeriesProjectRSEUtil
public ISeriesProjectRSEUtil()
getAssociatedConnection
public static IBMiConnection getAssociatedConnection(AbstractISeriesProject iSeriesProject,
boolean displayErrorMessage)
- Returns the associated ISeriesConnection with the given iSeries Project.
Returns null if any of the following problems occur:
- The iSeries Project does not have these properties set (the metadata
file may be corrupt).
- The connection does not exist in RSE, i.e. it has been deleted.
- A new connection with same name and in the same profile has been
created by the user, but that connection has a different host attribute.
Note: if an error occurs, it is displayed in a pop-up dialog, only if the
flag is true.
getAssociatedConnection
public static IBMiConnection getAssociatedConnection(AbstractISeriesProject iSeriesProject)
- Convenience method for
getAssociatedConnection(iSeriesProject, true)
.
- See Also:
getAssociatedConnection(AbstractISeriesProject iSeriesProject,
boolean displayErrorMessage)
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.