Project: stp

com.ibm.rational.wvcm.stp.cc
Interface CcBranchType

All Superinterfaces:
CcResource, CcTypeBase, CcVobResource, Resource, StpResource

public interface CcBranchType
extends CcTypeBase

A proxy for a ClearCase branch type.

Branches are used in base ClearCase to enable parallel development. A branch is an object that specifies a linear sequence of versions of an element. Every element has one main branch, which represents the principal line of development, and may have multiple subbranches, each of which represents a separate line of development. For example, a project team may use the main branch for new development work while using a subbranch simultaneously for fixing a bug.

For more branch information, see the ClearCase "Guide to Managing Software Projects" manual, and the cleartool man pages "mkbrtype" and "mkbranch".


Nested Class Summary
 
Nested classes/interfaces inherited from interface CcTypeBase
CcTypeBase.InstanceConstraint, CcTypeBase.Scope, CcTypeBase.TypeCreateFlag
 
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
 
Fields inherited from interface CcTypeBase
HAS_SHARED_MASTERSHIP, INSTANCE_CONSTRAINT, SCOPE
 
Fields inherited from interface CcVobResource
ATTRIBUTE_LIST, CC_MASTER_REPLICA, CURRENT_REPLICA, HAS_LOCAL_MASTERSHIP, HYPERLINK_LIST, LOCK_INFO, PERMISSIONS, 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
 CcBranchType doCreateCcBranchType(CcTypeBase.TypeCreateFlag[] flags, Feedback feedback)
          Create a new branch type at the location identified by this proxy.
 
Methods inherited from interface CcTypeBase
getHasSharedMastership, getInstanceConstraint, getScope, setHasSharedMastership, setInstanceConstraint, setScope
 
Methods inherited from interface CcVobResource
doApplyAttribute, doRemoveAttribute, doRequestForMastership, getAttributeList, getCurrentReplica, getHasLocalMastership, getHyperlinkList, getLockInfo, getMasterReplica, getPermissions, getVob, setLockInfo, setPermissions
 
Methods inherited from interface CcResource
ccProvider, doResolve, isResolved
 
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, stpLocation, stpProvider
 
Methods inherited from interface javax.wvcm.Resource
doCopy, doFind, doFindAll, doGetPropertyNameList, doGetPropertyNameList, doReadContent, doReadProperties, doUnbindAll, doWriteContent, doWriteProperties, forgetProperty, getComment, getContentCharacterSet, getContentIdentifier, getContentLanguage, getContentLength, getContentType, getCreationDate, getCreatorDisplayName, getDisplayName, getIsExecutable, getLastModified, getParentList, getPathnameLocation, getProperty, getProviderList, getWorkspaceFolderList, initProperty, location, lookupProperty, modifyLocation, propertyNameList, provider, removeProperty, setComment, setContentCharacterSet, setContentLanguage, setContentType, setCreatorDisplayName, setDisplayName, setIsExecutable, setProperty, setProperty, updatedPropertyNameList
 

Method Detail

doCreateCcBranchType

CcBranchType doCreateCcBranchType(CcTypeBase.TypeCreateFlag[] flags,
                                  Feedback feedback)
                                  throws WvcmException

Create a new branch type at the location identified by this proxy. The location should be an object name selector specifying the branch type's name and the repository (VOB) in which to create it.

Set the CcTypeBase.SCOPE property to specify the new type's global scope. If no scope is set, a scope of NONE (ordinary scope) is used.

Set the CcTypeBase.INSTANCE_CONSTRAINT property to determine where the new type may be applied. Valid values for branch types are BRANCH and ELEMENT. If no constraint is set the default is ELEMENT.

Parameters:
flags - Resource-specific creation flags.
Throws:
WvcmException

Generated Tue 22-May-2012 12:04 PM

Copyright © IBM 2012. All rights reserved.