com.caucho.env.repository
Class RepositoryTagEntry

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

public class RepositoryTagEntry
extends java.lang.Object

Represents a committed tag root


Constructor Summary
RepositoryTagEntry(AbstractRepository repository, java.lang.String sha1)
          Create a new entry, storing the serialized form in the repository.
RepositoryTagEntry(AbstractRepository repository, java.lang.String tagName, java.lang.String treeHash, java.lang.String parent, java.util.Map<java.lang.String,java.lang.String> attributeMap)
          Create a new entry, storing the serialized form in the repository.
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getAttributeMap()
           
 java.lang.String getName()
          Returns the tag's name
 java.lang.String getRoot()
          Returns the hash of the entry's root
 java.lang.String getTagEntryHash()
          Returns the hash of the entry itself
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryTagEntry

public RepositoryTagEntry(AbstractRepository repository,
                          java.lang.String tagName,
                          java.lang.String treeHash,
                          java.lang.String parent,
                          java.util.Map<java.lang.String,java.lang.String> attributeMap)
                   throws java.io.IOException
Create a new entry, storing the serialized form in the repository.

Throws:
java.io.IOException

RepositoryTagEntry

public RepositoryTagEntry(AbstractRepository repository,
                          java.lang.String sha1)
                   throws java.io.IOException
Create a new entry, storing the serialized form in the repository.

Throws:
java.io.IOException
Method Detail

getName

public java.lang.String getName()
Returns the tag's name


getRoot

public java.lang.String getRoot()
Returns the hash of the entry's root


getTagEntryHash

public java.lang.String getTagEntryHash()
Returns the hash of the entry itself


getAttributeMap

public java.util.Map<java.lang.String,java.lang.String> getAttributeMap()

toString

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