public class Activity extends UCMEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
Activity.Parser |
UCMEntity.Kind, UCMEntity.LabelStatus| Modifier and Type | Field and Description |
|---|---|
Changeset |
changeset
The change set of the activity
|
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_find| Modifier and Type | Method and Description |
|---|---|
static Activity |
create(String name,
Stream in,
PVob pvob,
boolean force,
String comment,
String headline,
File view)
Create an activity.
|
static Activity |
get(String name) |
static Activity |
get(String name,
PVob pvob) |
String |
getHeadline() |
List<Version> |
getTrimmedChangeSet(String branchName)
Trim the change set to the latest.
|
static List<Version> |
getVersions(Activity activity,
File path) |
List<Version> |
getVersions(File path) |
boolean |
isSpecialCase() |
Activity |
load()
Load the Activity into memory from ClearCase.
This function is automatically called when needed by other functions. |
static List<Activity> |
parseActivityStrings(List<String> result,
File view) |
void |
setSpecialCase(boolean b) |
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, toStringcreateSimpleAttributeType, getAttribute, getAttributes, getAttributes, getAttributes, setAttribute, setAttributepublic Changeset changeset
public void setSpecialCase(boolean b)
public boolean isSpecialCase()
public Activity load() throws UnableToLoadEntityException
load in class UCMEntityActivity populated with ClearCase data.UnableToLoadEntityException - Thrown when ClearCase reports errorspublic static Activity create(String name, Stream in, PVob pvob, boolean force, String comment, String headline, File view) throws UnableToCreateEntityException, UCMEntityNotFoundException, UnableToGetEntityException, UnableToInitializeEntityException
name - The name of the activityin - The stream in which to create the actitivypvob - Vob of the actitivyforce - Force creationcomment - Comment of the activityheadline - Headline for the activytview - Current viewActivity created by ClearCase.UnableToCreateEntityException - Thrown when ClearCase reports errorsUCMEntityNotFoundException - Thrown when ClearCase reports errorsUnableToGetEntityException - Thrown when ClearCase reports errorsUnableToInitializeEntityException - Thrown when ClearCase reports errorspublic static List<Activity> parseActivityStrings(List<String> result, File view) throws UnableToLoadEntityException, UCMEntityNotFoundException, UnableToInitializeEntityException
public List<Version> getTrimmedChangeSet(String branchName)
public String getHeadline()
public List<Version> getVersions(File path) throws UnableToInitializeEntityException, CleartoolException
public static List<Version> getVersions(Activity activity, File path) throws UnableToInitializeEntityException
public static Activity get(String name) throws UnableToInitializeEntityException
public static Activity get(String name, PVob pvob) throws UnableToInitializeEntityException
Copyright © 2016–2018. All rights reserved.