|
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.remotebuild.RBResource com.ibm.etools.iseries.remotebuild.RBProject
public class RBProject
This class implements a project resource. The base resource is an IProject. The model resource is an AbstractISeriesProject. The project resource is always the root node of a complete resource tree. The children of the project resource may be instances of RBLibrary. The children of a project resource are known as "home" resources. There is currently only one home resource per project.
Field Summary | |
---|---|
static String |
ActiveStyle
|
static String |
Copyright
|
Fields inherited from class com.ibm.etools.iseries.remotebuild.RBResource |
---|
G_BINARYOBJECT, G_LIBRARY, G_MEMBER, G_PROJECT, G_SAVEFILE, G_SOURCEFILE, G_UNKNOWN, NS_LOCAL, NS_NETWORK, NS_QSYS, NS_UNKNOWN, RB_QUALIFIER |
Constructor Summary | |
---|---|
RBProject(AbstractISeriesProject resource)
Constructs an RBProject from a model resource. |
|
RBProject(String name,
long localStamp,
long targetStamp)
Constructs a snapshot project from its component information. |
Method Summary | |
---|---|
RBResource |
copy()
Copies a project resource. |
RBStatus |
createOn(RBSystem system)
Pushes a creation of a resource to the target system from a project resource. |
boolean |
existsOn(RBSystem system)
Tests for the existence of a project on the system. |
IBuildStyle |
getActiveStyle()
Returns the active build style for a project. |
List |
getAllProperties()
Returns a set of all the property names this resource. |
IBuildStyleConfiguration |
getConfiguration(String styleId)
Returns a build style configuration for the given style id. |
IBMiConnection |
getConnection()
Returns the ISeriesConnection associated with this project. |
int |
getGender()
Returns the gender of this resource. |
String |
getIFSName()
Returns the IFS name of the object from the path. |
RBLibrary[] |
getLibraries()
Returns an array of library resources covered by this project. |
Collection<String> |
getModifiedProperties(com.ibm.etools.iseries.projects.internal.snapshots.SnapshotRecord sr)
|
int |
getNameSpace()
Returns the name space for this resource. |
ISystemProfile |
getProfile()
Returns the SystemProfile associated with this project. |
IPath |
getProjectRelativePath()
Returns the project relative path of this resource. |
String |
getQSYSName()
Returns the name of this object in the QSYS name space. |
String |
getSnapshotType()
Returns the tag name for this resource. |
RBSourceFile[] |
getSourceFiles()
Returns an array of source file resources covered by this project. |
RBSystem |
getSystem()
Returns a target RBSystem for this project. |
String |
getSystemName()
Returns the system name. |
IPath |
getTicketLocation()
Returns the ticket location for this project. |
IPath |
getWorkingLocation()
Returns the working storage location for this project. |
void |
saveConfiguration(IBuildStyleConfiguration configuration)
Saves a build style configuration to this project. |
void |
setActiveStyle(IBuildStyle style)
Activates a particular build style for this project. |
void |
setSystemName(String systemName)
Sets the system name -- must be done after a load of this resource from a snapshot since the system name is not on the constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
public static final String ActiveStyle
Constructor Detail |
---|
public RBProject(AbstractISeriesProject resource)
public RBProject(String name, long localStamp, long targetStamp)
Method Detail |
---|
public final int getNameSpace()
getNameSpace
in class RBResource
public int getGender()
getGender
in class RBResource
public String getSnapshotType()
Should not be used by clients.
getSnapshotType
in class RBResource
public IPath getProjectRelativePath()
getProjectRelativePath
in class RBResource
public Collection<String> getModifiedProperties(com.ibm.etools.iseries.projects.internal.snapshots.SnapshotRecord sr)
getModifiedProperties
in class RBResource
public List getAllProperties()
RBResource
getAllProperties
in class RBResource
public RBLibrary[] getLibraries()
public RBSourceFile[] getSourceFiles()
public IBMiConnection getConnection()
public ISystemProfile getProfile()
public RBSystem getSystem()
getSystem
in class RBResource
public String getIFSName()
Since projects have no direct IFS counterpart this reutrns the empty string.
getIFSName
in class RBResource
public String getQSYSName()
Since projects have no direct QSYS counterpart this
returns the empty string. If the library associated with
this project is desired use getLibraries()
.
getQSYSName
in class RBResource
public void setSystemName(String systemName)
public String getSystemName()
getSystemName
in class RBResource
public RBResource copy()
copy
in class RBResource
public boolean existsOn(RBSystem system)
existsOn
in class RBResource
public RBStatus createOn(RBSystem system)
createOn
in class RBResource
public IPath getWorkingLocation()
public IPath getTicketLocation()
public void setActiveStyle(IBuildStyle style)
public IBuildStyle getActiveStyle()
public IBuildStyleConfiguration getConfiguration(String styleId)
This is a convenience method for use by clients that require a particular configuration for builds.
public void saveConfiguration(IBuildStyleConfiguration configuration)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |