public class Baseline extends UCMEntity implements Diffable
| Modifier and Type | Class and Description |
|---|---|
static class |
Baseline.LabelBehaviour |
UCMEntity.Kind, UCMEntity.LabelStatusdate, 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, toStringcreateSimpleAttributeType, getAttribute, getAttributes, getAttributes, getAttributes, setAttribute, setAttributeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFullyQualifiedNamepublic Baseline load(boolean force) throws UnableToLoadEntityException, UnableToInitializeEntityException
public Baseline load() throws UnableToLoadEntityException, UnableToInitializeEntityException
load in class UCMEntityUnableToLoadEntityException - Thrown when ClearCase reports errorsUnableToInitializeEntityException - Thrown when ClearCase reports errorspublic static Baseline create(String basename, Component component, File view, Baseline.LabelBehaviour labelBehaviour, boolean identical) throws UnableToInitializeEntityException, UnableToCreateEntityException, NothingNewException
public static Baseline create(Stream stream, Component component, String basename, File view, Baseline.LabelBehaviour labelBehaviour, boolean identical) throws UnableToInitializeEntityException, UnableToCreateEntityException, NothingNewException
public static Baseline create(String basename, Component component, File view, Baseline.LabelBehaviour labelBehaviour, boolean identical, List<Activity> activities, List<Component> depends) throws UnableToInitializeEntityException, UnableToCreateEntityException, NothingNewException
basename - The base name for the new Baselinecomponent - The Component in which the baseline should be createdview - Current SnapshotView view root.labelBehaviour - The Baseline.LabelBehaviour to use.identical - Should we allow identical baselines to be created?activities - Activitiesdepends - Add Component dependenciesUnableToInitializeEntityException - Thrown when ClearCase reports errorsUnableToCreateEntityException - Thrown when ClearCase reports errorsNothingNewException - Thrown when ClearCase reports errorspublic Project.PromotionLevel getPromotionLevel()
public Project.PromotionLevel promote() throws UnableToPromoteBaselineException
INITAL.UnableToPromoteBaselineException - Thrown when ClearCase reports errorspublic Project.PromotionLevel reject() throws UnableToPromoteBaselineException
REJECTED the Baseline.Project.PromotionLevelUnableToPromoteBaselineException - Thrown when ClearCase reports errorspublic void setPromotionLevel(Project.PromotionLevel plevel) throws UnableToPromoteBaselineException
Project.PromotionLevelplevel - The new Project.PromotionLevelUnableToPromoteBaselineException - Thrown when ClearCase reports errorspublic void setLocalPromotionLevel(Project.PromotionLevel plevel)
Project.PromotionLevel of this Baseline, without persisting it in ClearCase.plevel - Set the new promotion levelpublic Component getComponent()
public List<Baseline> getDependent() throws CleartoolException, UnableToInitializeEntityException
CleartoolException - Thrown when ClearCase reports errorsUnableToInitializeEntityException - Thrown when ClearCase reports errorspublic Stream getStream()
public boolean shouldResetMastership()
throws ClearCaseException
ClearCaseExceptionpublic void resetMastership()
throws ClearCaseException
ClearCaseExceptionpublic String stringify()
UCMEntitypublic static Baseline get(String name) throws UnableToInitializeEntityException
public static Baseline get(String name, PVob pvob) throws UnableToInitializeEntityException
public List<Baseline> getPostedBaselinesFor(Component component) throws UnableToInitializeEntityException, CleartoolException
public List<Baseline> getCompositeMemberBaselines() throws UnableToInitializeEntityException, CleartoolException
Baselines that are members of this Baseline.
That is, Baselines that are descendants of this.BaselinesUnableToInitializeEntityException - Thrown when ClearCase reports errorsCleartoolException - Thrown when ClearCase reports errorspublic List<Baseline> getCompositeMemberBaselines(Component component) throws UnableToInitializeEntityException, CleartoolException
Get all the composite Baselines that are members of this Baseline given a specific Component.
That is, Baselines that are descendants of this.
component - A list of components to considerBaselinesUnableToInitializeEntityException - Thrown when ClearCase reports errorsCleartoolException - Thrown when ClearCase reports errorspublic List<Baseline> getCompositeDependantBaselines() throws UnableToInitializeEntityException, CleartoolException
Baselines that are dependant on this Baseline.
That is, Baselines that are ancestors of this.BaselineUnableToInitializeEntityException - Thrown when a ClearTool error occursCleartoolException - Thrown when a ClearTool error occurspublic List<Baseline> getCompositeDependantBaselines(Component component) throws UnableToInitializeEntityException, CleartoolException
Get all the composite Baselines that are dependant on this Baseline given a specific Component.
That is, Baselines that are ancestors of this.
component - The Component to look underBaselinesUnableToInitializeEntityException - Thrown when ClearCase reports errorsCleartoolException - Thrown when ClearCase reports errorspublic Baseline getRootedBaseline() throws UnableToInitializeEntityException, CleartoolException
Baseline. Returns null if none found.UnableToInitializeEntityException - Thrown when ClearCase reports errorsCleartoolException - Thrown when ClearCase reports errorspublic boolean isCompositeBaseline()
throws UnableToInitializeEntityException,
CleartoolException
Copyright © 2016–2018. All rights reserved.