jenkins.plugins.simpleclearcase.util
Class ListUtil

java.lang.Object
  extended by jenkins.plugins.simpleclearcase.util.ListUtil

public class ListUtil
extends Object


Constructor Summary
ListUtil()
           
 
Method Summary
static LoadRuleDateMap getLatestCommitDates(List<SimpleClearCaseChangeLogEntry> entries, List<String> loadRules)
           
static boolean removeEntries(List<SimpleClearCaseChangeLogEntry> entries, LoadRuleDateMap loadRuleMap, List<String> loadRules)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListUtil

public ListUtil()
Method Detail

removeEntries

public static boolean removeEntries(List<SimpleClearCaseChangeLogEntry> entries,
                                    LoadRuleDateMap loadRuleMap,
                                    List<String> loadRules)
Parameters:
entries -
loadRuleMap -
loadRules -
Returns:
true if method was successful in removing the entries where a loadrule is prefixing any path of the entry and also where the date is matching the entries date.

getLatestCommitDates

public static LoadRuleDateMap getLatestCommitDates(List<SimpleClearCaseChangeLogEntry> entries,
                                                   List<String> loadRules)
Parameters:
loadRules -
Returns:
a LoadRuleDateMap which maps a load rule against the latest commit date of that specific load rule


Copyright © 2004-2012. All Rights Reserved.