com.atlassian.bamboo.plan.vcsRevision
Class PlanVcsRevisionDataSet

java.lang.Object
  extended by com.atlassian.bamboo.plan.vcsRevision.PlanVcsRevisionDataSet

@PublicApi
public class PlanVcsRevisionDataSet
extends Object

Represents snapshot of plan's vcs revision history as mapping between repositories and PlanVcsRevisionData


Constructor Summary
PlanVcsRevisionDataSet(Map<Long,PlanVcsRevisionData> revisionDataMap)
           
 
Method Summary
 PlanVcsRevisionData get(long repositoryId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlanVcsRevisionDataSet

public PlanVcsRevisionDataSet(@NotNull
                              Map<Long,PlanVcsRevisionData> revisionDataMap)
Method Detail

get

@NotNull
public PlanVcsRevisionData get(long repositoryId)
Parameters:
repositoryId -
Returns:
PlanVcsRevisionData with the correct revision or PlanVcsRevisionData.NULL_REVISION if repository is not found


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.