public class UcmCommon extends Object
| Constructor and Description |
|---|
UcmCommon() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
generateLoadRulesFromBaselines(ClearTool clearTool,
String stream,
List<Baseline> baselines)
Takes a list of baselines as argument, and return the load rules for all components matching these baselines
|
static List<Baseline> |
getComponentsForBaselines(ClearTool clearTool,
List<Component> componentsList,
boolean isUseDynamicView,
String viewName,
hudson.FilePath filePath,
List<String> baselinesNames) |
static Baseline |
getDataforBaseline(ClearTool clearTool,
hudson.FilePath filePath,
String blName)
Get the component binding to the baseline
|
static List<String> |
getDiffBlVersions(ClearTool clearTool,
String viewRootDirectory,
String bl1,
String bl2) |
static List<Baseline> |
getFoundationBaselines(ClearTool clearTool,
String stream) |
static List<String> |
getLatestBaselineNames(ClearTool clearTool,
boolean isUseDynamicView,
String viewName,
hudson.FilePath filePath,
List<String> readWriteComponents) |
static List<Baseline> |
getLatestBaselines(ClearTool clearTool,
String stream) |
static List<Baseline> |
getLatestBlsWithCompOnStream(ClearTool clearTool,
String stream,
String view) |
static String |
getNoVob(String element) |
static List<String> |
getReadWriteComponents(List<Component> components) |
static List<Component> |
getStreamComponentsDesc(ClearTool clearTool,
String streamName) |
static String |
getVersionDescription(ClearTool clearTool,
String version,
String format) |
static String |
getVob(String element) |
static void |
rebase(ClearTool clearTool,
String viewName,
List<Baseline> baselines) |
public static String[] generateLoadRulesFromBaselines(ClearTool clearTool, String stream, List<Baseline> baselines) throws IOException, InterruptedException
clearTool - stream - baselines - IOExceptionInterruptedExceptionpublic static List<Baseline> getComponentsForBaselines(ClearTool clearTool, List<Component> componentsList, boolean isUseDynamicView, String viewName, hudson.FilePath filePath, List<String> baselinesNames) throws InterruptedException, IOException
clearToolLauncher - isUseDynamicView - viewName - filePath - baselinesNames - InterruptedExceptionIOExceptionpublic static Baseline getDataforBaseline(ClearTool clearTool, hudson.FilePath filePath, String blName) throws InterruptedException, IOException
clearToolLauncher - filePath - blName - the baseline name like 'deskCore_3.2-146_2008-11-14_18-07-22.3543@\P_ORC'InterruptedExceptionIOExceptionpublic static List<String> getDiffBlVersions(ClearTool clearTool, String viewRootDirectory, String bl1, String bl2) throws IOException, InterruptedException
clearToolLauncher - viewRootDirectory - bl1 - bl2 - IOExceptionInterruptedExceptionpublic static List<Baseline> getFoundationBaselines(ClearTool clearTool, String stream) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static List<String> getLatestBaselineNames(ClearTool clearTool, boolean isUseDynamicView, String viewName, hudson.FilePath filePath, List<String> readWriteComponents) throws IOException, InterruptedException
clearToolLauncher - isUseDynamicView - viewName - filePath - readWriteComponents - . if null both baselines on read and read-write components will be returnedInterruptedExceptionIOExceptionExceptionpublic static List<Baseline> getLatestBaselines(ClearTool clearTool, String stream) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static List<Baseline> getLatestBlsWithCompOnStream(ClearTool clearTool, String stream, String view) throws IOException, InterruptedException
InterruptedExceptionIOExceptionExceptionpublic static String getNoVob(String element)
clearToolLauncher - element - public static List<String> getReadWriteComponents(List<Component> components)
componentsDesc - public static List<Component> getStreamComponentsDesc(ClearTool clearTool, String streamName) throws IOException, InterruptedException
clearToolLauncher - streamName - IOExceptionInterruptedExceptionpublic static String getVersionDescription(ClearTool clearTool, String version, String format) throws IOException, InterruptedException
clearToolLauncher - version - IOExceptionInterruptedExceptionpublic static void rebase(ClearTool clearTool, String viewName, List<Baseline> baselines) throws IOException, InterruptedException
clearToolLauncher - stream - baselines - IOExceptionInterruptedExceptionCopyright © 2004-2021. All Rights Reserved.