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, vobrx_attr_findautoLoad, 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, toStringcreateSimpleAttributeType, getAttribute, getAttributes, getAttributes, getAttributes, setAttribute, setAttributeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFullyQualifiedName, getPVobpublic 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 projectProjectUnableToCreateEntityException - Thrown when ClearCase reports errorsUnableToInitializeEntityException - Thrown when ClearCase reports errorspublic Project load() throws UnableToLoadEntityException, UnableToInitializeEntityException
UCMEntityload in class UCMEntityUCMEntityUnableToLoadEntityException - Thrown when ClearCase reports errorsUnableToInitializeEntityException - Thrown when ClearCase reports errorspublic Stream getIntegrationStream()
public List<Stream> getStreams() throws CleartoolException
CleartoolExceptionpublic static List<Project> getProjects(PVob pvob) throws UnableToListProjectsException, UnableToInitializeEntityException
pvob - The PVobProjects under the given PVobUnableToListProjectsException - Thrown when ClearCase reports errorsUnableToInitializeEntityException - Thrown when ClearCase reports errorspublic List<Component> getModifiableComponents() throws UnableToInitializeEntityException, CleartoolException
ComponentUnableToInitializeEntityException - 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.