Modifier and Type | Method and Description |
---|---|
ConfigSpec |
ConfigSpec.addLoadRule(Baseline baseline) |
ConfigSpec |
ConfigSpec.addLoadRule(List<Baseline> baselines) |
List<Version> |
Find.find() |
static List<Label> |
Label.getLabels(File pathname,
Branch branch) |
List<Stream> |
PVob.getStreams() |
Modifier and Type | Method and Description |
---|---|
static Version |
Version.create(File file,
boolean mkdir,
SnapshotView view) |
static Baseline |
Baseline.create(Stream stream,
Component component,
String basename,
File view,
Baseline.LabelBehaviour labelBehaviour,
boolean identical) |
static Stream |
Stream.create(StreamContainable parent,
String nstream,
boolean readonly,
List<Baseline> baselines)
Create a new stream in ClearCase, given a parent Stream, a fully qualified name for
the new Stream and whether the Stream is read only or not
|
static Stream |
Stream.create(Stream parent,
String nstream,
boolean readonly,
Baseline baseline) |
static Baseline |
Baseline.create(String basename,
Component component,
File view,
Baseline.LabelBehaviour labelBehaviour,
boolean identical) |
static Baseline |
Baseline.create(String basename,
Component component,
File view,
Baseline.LabelBehaviour labelBehaviour,
boolean identical,
List<Activity> activities,
List<Component> depends)
Given a baseline basename, a component and a view, the baseline is
created.
|
static Component |
Component.create(String name,
PVob pvob,
String root,
String comment,
File view) |
static Activity |
Activity.create(String name,
Stream in,
PVob pvob,
boolean force,
String comment,
String headline,
File view)
Create an activity.
|
static Project |
Project.create(String name,
String root,
PVob pvob,
int policy,
String comment,
boolean normal,
Component mcomps) |
static Project |
Project.create(String name,
String root,
PVob pvob,
int policy,
String comment,
boolean normal,
List<Component> mcomps)
Create a project.
|
static Stream |
Stream.createIntegration(String name,
Project project,
Baseline baseline) |
static Stream |
Stream.createIntegration(String name,
Project project,
List<Baseline> baselines)
Create an integration
Stream in ClearCase |
static Folder |
Folder.get(String name) |
static Activity |
Activity.get(String name) |
static Baseline |
Baseline.get(String name) |
static Version |
Version.get(String name) |
static Project |
Project.get(String name) |
static Component |
Component.get(String name) |
static Stream |
Stream.get(String name) |
static HyperLink |
HyperLink.get(String name) |
static Folder |
Folder.get(String fqname,
PVob vob) |
static Activity |
Activity.get(String name,
PVob pvob) |
static Baseline |
Baseline.get(String name,
PVob pvob) |
static Project |
Project.get(String name,
PVob pvob) |
static Component |
Component.get(String name,
PVob pvob) |
static Stream |
Stream.get(String name,
PVob pvob) |
static Activity |
Version.getActivity(Version version)
|
static List<Activity> |
Version.getBaselineDiff(Diffable d1,
Diffable d2,
boolean merge,
File viewContext)
ONLY USED IN TEST
|
static List<Activity> |
Version.getBaselineDiff(Diffable d1,
Diffable d2,
boolean merge,
File viewContext,
boolean versions)
ONLY USED IN TEST
Activity based baseline diff method
|
static ChangeSet2 |
Version.getChangeset(Diffable e1,
Diffable e2,
boolean merge,
File viewContext) |
List<Stream> |
Stream.getChildStreams(boolean multisitePolling) |
List<Baseline> |
Baseline.getCompositeDependantBaselines()
|
List<Baseline> |
Baseline.getCompositeDependantBaselines(Component component)
|
List<Baseline> |
Baseline.getCompositeMemberBaselines()
|
List<Baseline> |
Baseline.getCompositeMemberBaselines(Component component)
|
List<Stream> |
Stream.getDeliveringStreamsUsingHlink(String hyperLinkName)
For JENKINS-26484
|
List<Baseline> |
Baseline.getDependent()
|
protected static UCMEntity |
UCMEntity.getEntity(Class<? extends UCMEntity> clazz,
String fqname)
Generates a UCM entity given its fully qualified name.
|
static UCMEntity |
UCMEntity.getEntity(String fqname) |
static HyperLink |
HyperLink.getHyperLink(String fqname,
String value) |
List<HyperLink> |
UCMEntity.getHyperlinks(String hyperlinkType,
File context) |
Baseline |
Stream.getLatestBaseline(Component component)
|
List<Baseline> |
Stream.getLatestBaselines() |
List<Component> |
Project.getModifiableComponents()
|
List<Component> |
Project.getNonModifiableComponents() |
List<Baseline> |
Stream.getPostedBaselines(Component component,
Project.PromotionLevel plevel) |
List<Baseline> |
Baseline.getPostedBaselinesFor(Component component) |
static List<Project> |
Project.getProjects(PVob pvob)
|
List<Baseline> |
Stream.getRecommendedBaselines() |
List<Baseline> |
Stream.getRecommendedBaselines(boolean force) |
Baseline |
Baseline.getRootedBaseline()
Get the rooted version of this
Baseline . |
List<Stream> |
Stream.getSiblingStreams()
For each project return their integration streams
|
Component |
Stream.getSingleTopComponent() |
Tag |
UCMEntity.getTag(String tagType,
String tagID) |
static Tag |
Tag.getTag(UCMEntity entity,
String tagType,
String tagID,
boolean create) |
static List<Tag> |
Tag.getTags(UCMEntity entity) |
static Version |
Version.getUnextendedVersion(File file,
File viewroot)
|
static Version |
Version.getVersion(String version) |
static List<Version> |
Activity.getVersions(Activity activity,
File path) |
List<Version> |
Activity.getVersions(File path) |
boolean |
Stream.hasPostedDelivery() |
boolean |
Baseline.isCompositeBaseline() |
Baseline |
Baseline.load()
Load the Baseline into memory from ClearCase.
This function is automatically called when needed by other functions. |
UCMEntity |
UCMEntity.load()
Default load functionality for the entity.
|
Project |
Project.load() |
Stream |
Stream.load() |
Baseline |
Baseline.load(boolean force) |
static List<Activity> |
Activity.parseActivityStrings(List<String> result,
File view) |
Tag |
Tag.persist()
Persist the Tag.
|
static Tag |
Tag.persist(Tag tag) |
Modifier and Type | Method and Description |
---|---|
BaselineList |
BaselineList.apply()
Apply all the given filters and rules to this
|
static net.praqma.util.structure.Tuple<Baseline,String[]> |
BuildNumber.createBuildNumber(String baseline,
Component component,
File view) |
List<Version> |
Difference.get(boolean merge,
SnapshotView view) |
static String |
BuildNumber.getBuildNumber(Project project)
This method returns the new build number for a Baseline.
|
static Integer |
BuildNumber.getNextBuildSequence(Project project)
Given a Project, its top level Components sequence number is retrieved,
incremented, stored and returned.
|
static int |
BuildNumber.isValidUCMBuildNumber(Project project)
Verify that the project has valid UCM build number attributes
|
static int |
BuildNumber.stampFromComponent(Component component,
File dir,
String major,
String minor,
String patch,
String sequence,
boolean ignoreErrors) |
static int |
BuildNumber.stampIntoCode(Baseline baseline) |
static int |
BuildNumber.stampIntoCode(Baseline baseline,
File dir) |
static int |
BuildNumber.stampIntoCode(Baseline baseline,
File dir,
boolean ignoreErrors) |
Modifier and Type | Method and Description |
---|---|
static SnapshotView |
SnapshotView.create(Stream stream,
File viewroot,
String viewtag)
Create a Snapshot view given a Stream, view root and a view tag.
|
static SnapshotView |
SnapshotView.get(File viewroot) |
Stream |
SnapshotView.getStream() |
Stream |
UCMView.getStream() |
net.praqma.util.structure.Tuple<Stream,String> |
SnapshotView.getStreamFromView(File vr) |
Constructor and Description |
---|
LoadRules2(SnapshotView.Components components) |
SnapshotView(File viewroot) |
Modifier and Type | Method and Description |
---|---|
static SnapshotView |
ViewUtils.createView(Stream stream,
String loadModule,
File viewroot,
String viewtag) |
static List<LabelsForVersion> |
Labels.getLabels(File pathname,
Branch branch) |
static List<LabelsForVersion> |
Labels.getLabels(String pathname,
Branch branch) |
static void |
SetupUtils.tearDown(PVob pvob) |
Modifier and Type | Method and Description |
---|---|
static void |
GetTagValue.run(String[] args) |
static void |
StampBuildNumber.run(String[] args) |
static void |
SetTag.run(String[] args) |
static void |
GetNextBuildNumber.run(String[] args) |
Copyright © 2016–2018. All rights reserved.