public class Project extends UCMEntity implements StreamContainable
Modifier and Type | Class and Description |
---|---|
static class |
Project.PromotionLevel |
UCMEntity.Kind, UCMEntity.LabelStatus
Modifier and Type | Field and Description |
---|---|
static int |
POLICY_CHSTREAM_UNRESTRICTED |
static int |
POLICY_DELIVER_NCO_DEVSTR |
static int |
POLICY_DELIVER_REQUIRE_REBASE |
static int |
POLICY_INTERPROJECT_DELIVER
Enables inter-project deliveries
|
date, dateFormatter, fqname, kind, labelStatus, loaded, mastership, pattern_std_fqname, pattern_tag_fqname, pattern_version_fqname, pvob, rx_ccdef_allowed, rx_ccdef_cc_name, rx_ccdef_filename, rx_ccdef_vob, shortname, user, vob
rx_attr_find
autoLoad, changeOwnership, changeOwnership, equals, getargComment, getargIn, getComment, getDate, getEntity, getEntity, getEntitySelector, getFqname, getFullyQualifiedName, getHyperlinks, getKind, getLabelStatus, getLabelStatusFromString, getMastership, getNamePart, getNormalizedName, getObjectId, getObjectId, getPVob, getShortname, getTag, getUser, hashCode, initialize, isCreated, isLoaded, loadDate, setComment, setCreated, setDate, setDate, setFqname, setKind, setLabelStatusFromString, setMastership, setUser, stringify, toString
createSimpleAttributeType, getAttribute, getAttributes, getAttributes, getAttributes, setAttribute, setAttribute
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFullyQualifiedName, getPVob
public static final int POLICY_INTERPROJECT_DELIVER
public static final int POLICY_CHSTREAM_UNRESTRICTED
public static final int POLICY_DELIVER_REQUIRE_REBASE
public static final int POLICY_DELIVER_NCO_DEVSTR
public static Project.PromotionLevel getPlevelFromString(String str)
public static Project.PromotionLevel promoteFrom(Project.PromotionLevel plevel)
public static String getPolicy(int policy)
public static int getPolicyValue(String policy)
public static Project create(String name, String root, PVob pvob, int policy, String comment, boolean normal, Component mcomps) throws UnableToCreateEntityException, UnableToInitializeEntityException
public static Project create(String name, String root, PVob pvob, int policy, String comment, boolean normal, List<Component> mcomps) throws UnableToCreateEntityException, UnableToInitializeEntityException
name
- The name of the Projectroot
- If not null, the root folder of the projectpvob
- The PVob
}policy
- Policies as integercomment
- If not null, the comment of the projectnormal
- Normalmcomps
- Modifiable components of the projectProject
UnableToCreateEntityException
- Thrown when ClearCase reports errorsUnableToInitializeEntityException
- Thrown when ClearCase reports errorspublic Project load() throws UnableToLoadEntityException, UnableToInitializeEntityException
UCMEntity
load
in class UCMEntity
UCMEntity
UnableToLoadEntityException
- Thrown when ClearCase reports errorsUnableToInitializeEntityException
- Thrown when ClearCase reports errorspublic Stream getIntegrationStream()
public List<Stream> getStreams() throws CleartoolException
CleartoolException
public static List<Project> getProjects(PVob pvob) throws UnableToListProjectsException, UnableToInitializeEntityException
pvob
- The PVob
Project
s under the given PVob
UnableToListProjectsException
- Thrown when ClearCase reports errorsUnableToInitializeEntityException
- Thrown when ClearCase reports errorspublic List<Component> getModifiableComponents() throws UnableToInitializeEntityException, CleartoolException
Component
UnableToInitializeEntityException
- Thrown when ClearCase reports errorsCleartoolException
- Thrown when ClearCase reports errorspublic List<Component> getNonModifiableComponents() throws UnableToInitializeEntityException, CleartoolException
public void remove() throws UnableToRemoveEntityException
Project
from ClearCaseUnableToRemoveEntityException
- Thrown when ClearCase reports errorspublic static Project get(String name, PVob pvob) throws UnableToInitializeEntityException
public static Project get(String name) throws UnableToInitializeEntityException
Copyright © 2016–2018. All rights reserved.