|
Project: stp | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CcActivity
A proxy for a ClearCase UCM activity.
UCM activities collect the logically-related changes (versions) made in a given UCM stream, and are the basic unit of change flow between streams. When a developer begins working on a new task within a particular UCM stream, he typically creates a new UCM activity for that task. At checkout time, each new version is added to the activity's change set.
If the UCM project in which the user working is ClearQuest-enabled, all UCM activities in that project are managed by the ClearQuest Integration . Rather than creating a new UCM activity directly, the user selects or creates the ClearQuest record he wants to work on and performs a WorkOn operation. ClearQuest creates a corresponding UCM activity and binds it to the ClearQuest record.
See the "Developing Software with ClearCase" manual for more information about working with UCM activities.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.ibm.rational.wvcm.stp.StpActivity |
---|
StpActivity.CqUcmIntegrationState |
Nested classes/interfaces inherited from interface CcVobResource |
---|
CcVobResource.ApplyAttributeFlag |
Nested classes/interfaces inherited from interface com.ibm.rational.wvcm.stp.StpResource |
---|
StpResource.UnsupportedProperty |
Nested classes/interfaces inherited from interface javax.wvcm.Resource |
---|
Resource.CopyFlag |
Field Summary | |
---|---|
static PropertyNameList.PropertyName<Boolean> |
HAS_CHECKOUTS
Returns true if there are checkouts under this activity. |
static PropertyNameList.PropertyName<Boolean> |
IS_INTEGRATION_ACTIVITY
Return true if the activity is an "integration activity", that is one created by UCM during a deliver or rebase operation. |
static PropertyNameList.PropertyName<ResourceList<Version>> |
LATEST_VERSION_LIST
The latest version for each element in a change set. |
static PropertyNameList.PropertyName<CcView> |
NAME_RESOLVER_VIEW
A view for resolving names of versions in the activity's change set. |
static PropertyNameList.PropertyName<CcStream> |
STREAM
The UCM stream in which this activity resides. |
Fields inherited from interface javax.wvcm.Activity |
---|
ACTIVITY_CHECKOUT_LIST, ACTIVITY_VERSION_LIST, CURRENT_WORKSPACE_LIST, TASK_LIST |
Fields inherited from interface com.ibm.rational.wvcm.stp.StpActivity |
---|
BOUND_CC_ACTIVITY, BOUND_CC_ACTIVITY_LOCATION, BOUND_CQ_RECORD, CQ_UCM_INTEGRATION_STATE, HEADLINE, ID_SELECTOR |
Fields inherited from interface CcVobResource |
---|
ATTRIBUTE_LIST, CC_MASTER_REPLICA, CURRENT_REPLICA, EFFECTIVE_ACL, HAS_LOCAL_MASTERSHIP, HYPERLINK_LIST, LOCK_INFO, MY_EFFECTIVE_ACCESS, MY_EFFECTIVE_ACL, PERMISSIONS, ROLEMAP, VOB |
Fields inherited from interface com.ibm.rational.wvcm.stp.StpResource |
---|
ALL_PROPERTIES, AUTHENTICATION_REALM, CREATOR_GROUP_NAME, CREATOR_LOGIN_NAME, EFFICIENT_LOCATION, INVALID_PROPERTIES, REPOSITORY, STABLE_LOCATION, USER_FRIENDLY_LOCATION |
Fields inherited from interface javax.wvcm.Resource |
---|
ALL_CUSTOM_PROPERTIES, COMMENT, CONTENT_CHARACTER_SET, CONTENT_IDENTIFIER, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, CREATION_DATE, CREATOR_DISPLAY_NAME, DISPLAY_NAME, IS_EXECUTABLE, LAST_MODIFIED, PARENT_LIST, PATHNAME_LOCATION, PROVIDER_LIST, RESOURCE_IDENTIFIER, WORKSPACE_FOLDER_LIST |
Method Summary | |
---|---|
CcActivity |
doCreateCcActivity(Feedback feedback)
Create a new UCM activity at the location identified by this proxy. |
CcActivity |
doCreateGeneratedCcActivity(Feedback feedback)
Create a new UCM activity, allowing the provider to choose the new activity's name. |
boolean |
getHasCheckouts()
Get the value of this proxy's HAS_CHECKOUTS proerty. |
boolean |
getIsIntegrationActivity()
Get the value of this proxy's IS_INTEGRATION_ACTIVITY property. |
ResourceList<Version> |
getLatestVersionList()
Get the value of this proxy's LATEST_VERSION_LIST property. |
CcView |
getNameResolverView()
Get the value of this proxy's NAME_RESOLVER_VIEW property. |
CcStream |
getStream()
Get the value of this proxy's STREAM property. |
void |
setStream(CcStream stream)
Set the value of this activity's STREAM property. |
void |
setTaskList(ResourceList<Task> taskAdditions,
ResourceList<Task> taskRemovals)
Modify the list of tasks associated with this activity by adding and removing the items from the specified lists. |
Methods inherited from interface javax.wvcm.Activity |
---|
doCreateGeneratedResource, doCreateResource, getActivityCheckoutList, getActivityVersionList, getCurrentWorkspaceList, getTaskList, setTaskList, workspaceProvider |
Methods inherited from interface com.ibm.rational.wvcm.stp.StpActivity |
---|
getBoundCcActivity, getBoundCcActivityLocation, getBoundCqRecord, getCqUcmIntegrationState, getHeadline, getIdSelector, setHeadline |
Methods inherited from interface CcResource |
---|
ccProvider, doReadContent, doResolve, doWriteProperties, hasSupportedProperties, isResolved, readProperties, readProperties, resolve, writeProperties, writeProperties |
Methods inherited from interface com.ibm.rational.wvcm.stp.StpResource |
---|
doReadProperties, equals, getAllProperties, getAuthenticationRealm, getCreatorGroupName, getCreatorLoginName, getCustomProperties, getEfficientLocation, getInvalidProperties, getMetaProperties, getPropertyException, getRepository, getResourceError, getResourceIdentifier, getStableLocation, getUserFriendlyLocation, hashCode, hasProperties, initMetaProperty, proxyType, setPropertyClean, stpLocation, stpProvider |
Field Detail |
---|
static final PropertyNameList.PropertyName<Boolean> HAS_CHECKOUTS
static final PropertyNameList.PropertyName<Boolean> IS_INTEGRATION_ACTIVITY
static final PropertyNameList.PropertyName<ResourceList<Version>> LATEST_VERSION_LIST
static final PropertyNameList.PropertyName<CcView> NAME_RESOLVER_VIEW
static final PropertyNameList.PropertyName<CcStream> STREAM
Method Detail |
---|
CcActivity doCreateCcActivity(Feedback feedback) throws WvcmException
Create a new UCM activity at the location identified by this proxy. The location should be an object name selector specifying the activity's name and the repository (project VOB) in which to create it.
Set the STREAM
property to specify the new activity's stream
(required). The stream's repository must match the repository specified
in this activity's location.
Set the StpActivity.HEADLINE
property to specify the new activity's headline
(optional).
Set the Resource.COMMENT
property to specify a creation comment for the
new activity (optional).
This method fails if the stream is ClearQuest-enabled. In a CQ-enabled stream, activities can only be created indirectly by working on a CQ entity in the context of a view associated with that stream.
WvcmException
CcActivity doCreateGeneratedCcActivity(Feedback feedback) throws WvcmException
Create a new UCM activity, allowing the provider to choose the new activity's name. The provider may use the client-specified location if it is valid, but can select a different location if the location is not valid or already identifies an activity.
WvcmException
doCreateCcActivity(Feedback)
boolean getHasCheckouts() throws WvcmException
HAS_CHECKOUTS
proerty.
WvcmException
- if this proxy doesn't define a value for this property.boolean getIsIntegrationActivity() throws WvcmException
IS_INTEGRATION_ACTIVITY
property.
WvcmException
- if this proxy doesn't define a value for this property.ResourceList<Version> getLatestVersionList() throws WvcmException
LATEST_VERSION_LIST
property.
getLatestVersionList
in interface Activity
WvcmException
- if this proxy doesn't define a value for this property.CcView getNameResolverView() throws WvcmException
NAME_RESOLVER_VIEW
property.
WvcmException
- if this proxy doesn't define a value for this property.CcStream getStream() throws WvcmException
STREAM
property.
WvcmException
- if this proxy doesn't define a value for this property.void setStream(CcStream stream)
STREAM
property.
This property can only be set at activity creation time.
stream
- proxy for the stream in which the new activity will residevoid setTaskList(ResourceList<Task> taskAdditions, ResourceList<Task> taskRemovals)
taskAdditions
- List of tasks to be added to the list of
associations for this activity. Items in this list which are already associated
with the activity are ignored.taskRemovals
- List of tasks to be removed from the list of
associations for this activity. Items in this list which are not associated
with the activity are ignored.
|
Generated Wed 13-Apr-2016 10:51 PM | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |