|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.rich.core.scm.TeamContributor
public abstract class TeamContributor
| Nested Class Summary | |
|---|---|
static interface |
TeamContributor.ReferenceProperties
|
| Constructor Summary | |
|---|---|
TeamContributor()
|
|
| Method Summary | |
|---|---|
IResource[] |
checkinResources(IResource[] resourcesToCheckin,
IProgressMonitor monitor)
Checks-in provided resources and returns ones which were not able to be checked-in. |
TeamContributor.ReferenceProperties[] |
createArtifactReferences(IResource[] artifactResources,
IResource assetModelResource,
AssetInformation asset,
IProgressMonitor monitor)
Creates and returns the reference for the passed in asset. |
java.lang.String |
getReferenceKindName()
Returns the reference kind name that a particular contributor uses. |
IResource[] |
getResourcesToCheckIn(IResource[] rootParentResources,
IResource assetFileResource)
Returns all the resources which are required to be checked in for the asset to be successfully submitted. |
TeamContributor.ReferenceProperties[] |
getSCMInfo(IResource[] resource,
IProgressMonitor monitor)
Return the SCM info for the given resources. |
IProject[] |
importAsProjects(boolean useCurrentBranch,
boolean useOtherExistingBranch,
boolean createNewBranch,
java.lang.String branchName,
Artifact[] scmArtifacts,
boolean overwrite,
Asset asset,
IProgressMonitor monitor)
Imports the given artifact as a project into the workspace. |
void |
removeExistingProject(IProject project,
IProgressMonitor monitor)
Removes the given project from the workspace. |
boolean |
supportsBranchCreation()
|
boolean |
supportsBranchSelection()
|
IStatus |
validateBranchName(java.lang.String branchName)
Validates the given branch name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TeamContributor()
| Method Detail |
|---|
public void removeExistingProject(IProject project,
IProgressMonitor monitor)
throws SCMException
project - monitor -
SCMExceptionpublic IStatus validateBranchName(java.lang.String branchName)
IStatus#ERROR is returned if there is any problem.
null should be returned if there are no validation problems.
scmArtifacts - branchName -
public IResource[] checkinResources(IResource[] resourcesToCheckin,
IProgressMonitor monitor)
throws SCMException
resourcesToCheckin - monitor - part -
SCMException
public TeamContributor.ReferenceProperties[] createArtifactReferences(IResource[] artifactResources,
IResource assetModelResource,
AssetInformation asset,
IProgressMonitor monitor)
throws SCMException
artifactResources - assetModelResource - asset - monitor -
SCMException#canPublish(Artifact)
public TeamContributor.ReferenceProperties[] getSCMInfo(IResource[] resource,
IProgressMonitor monitor)
throws SCMException
resource - the set of IResources to get SCM info formonitor -
SCMException
public IResource[] getResourcesToCheckIn(IResource[] rootParentResources,
IResource assetFileResource)
throws SCMException
rootParentResources - assetFileResource -
SCMException
public IProject[] importAsProjects(boolean useCurrentBranch,
boolean useOtherExistingBranch,
boolean createNewBranch,
java.lang.String branchName,
Artifact[] scmArtifacts,
boolean overwrite,
Asset asset,
IProgressMonitor monitor)
throws SCMException
#canHandleReferenceKind(com.ibm.ram.defaultprofile.ReferenceKind)
is valid. The contributor is responsibe for updating the reference of the artifact and
children artifacts to point to to workspace relative locations.
useCurrentBranch - createNewBranch - useOtherExistingBranch - branchName - scmArtifacts - overwrite - asset - manifest provided for read-only informationmonitor -
SCMExceptionpublic java.lang.String getReferenceKindName()
public boolean supportsBranchCreation()
public boolean supportsBranchSelection()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||