com.caucho.env.repository
Class RepositoryTagMap

java.lang.Object
  extended by com.caucho.env.repository.RepositoryTagMap

@Module
public class RepositoryTagMap
extends java.lang.Object

Map of the current tags.


Constructor Summary
RepositoryTagMap()
           
RepositoryTagMap(AbstractRepository repository, RepositoryTagMap parent, java.util.Map<java.lang.String,RepositoryTagEntry> tagMap)
           
RepositoryTagMap(AbstractRepository repository, java.lang.String commitHash, boolean isValidate)
           
 
Method Summary
 int compareTo(RepositoryTagMap oldTagMap)
           
 java.lang.String getCommitHash()
          Returns the commit hash value of the tag map itself
 long getSequence()
          Returns the sequence
 java.util.Map<java.lang.String,RepositoryTagEntry> getTagMap()
          Returns the deployment's tag map.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryTagMap

public RepositoryTagMap()

RepositoryTagMap

public RepositoryTagMap(AbstractRepository repository,
                        java.lang.String commitHash,
                        boolean isValidate)
                 throws java.io.IOException
Throws:
java.io.IOException

RepositoryTagMap

public RepositoryTagMap(AbstractRepository repository,
                        RepositoryTagMap parent,
                        java.util.Map<java.lang.String,RepositoryTagEntry> tagMap)
                 throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getCommitHash

public java.lang.String getCommitHash()
Returns the commit hash value of the tag map itself


getSequence

public long getSequence()
Returns the sequence


getTagMap

public java.util.Map<java.lang.String,RepositoryTagEntry> getTagMap()
Returns the deployment's tag map.


compareTo

public int compareTo(RepositoryTagMap oldTagMap)
Parameters:
oldTagMap -
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object