org.netbeans.lib.cvsclient.command.log
Class LogInformation

java.lang.Object
  extended by org.netbeans.lib.cvsclient.command.FileInfoContainer
      extended by org.netbeans.lib.cvsclient.command.log.LogInformation

public class LogInformation
extends FileInfoContainer

Describes log information for a file. This is the result of doing a cvs log command. The fields in instances of this object are populated by response handlers.


Nested Class Summary
 class LogInformation.Revision
           
 class LogInformation.SymName
           
 
Constructor Summary
LogInformation()
           
 
Method Summary
 void addRevision(LogInformation.Revision newRevision)
          adds a revision info to the LogInformation instance
 void addSymbolicName(java.lang.String symName, java.lang.String revisionNumber)
          Add a symbolic name to the list of names and attaches it to a revision number.
 LogInformation.Revision createNewRevision(java.lang.String number)
           
 java.lang.String getAccessList()
          Getter for property accessList.
 java.util.List getAllSymbolicNames()
           
 java.lang.String getBranch()
          Getter for property branch.
 java.lang.String getDescription()
          Getter for property description.
 java.io.File getFile()
          Getter for property file.
 java.lang.String getHeadRevision()
          Getter for property headRevision.
 java.lang.String getKeywordSubstitution()
          Getter for property keywordSubstitution.
 java.lang.String getLocks()
          Getter for property locks.
 java.lang.String getRepositoryFilename()
          Getter for property repositoryFilename.
 LogInformation.Revision getRevision(java.lang.String number)
          Search the revisions by number of revision.
 java.util.List getRevisionList()
          return the all revisions attached to this log (if more sophisticated method are supplied, this might get obsolete)
 java.lang.String getSelectedRevisions()
          Getter for property selectedRevisions.
 LogInformation.SymName getSymName(java.lang.String symName)
          Search the symbolic names by name of tag (symbolic name).
 java.util.List getSymNamesForRevision(java.lang.String revNumber)
          Search the symbolic names by number of revision.
 java.lang.String getTotalRevisions()
          Getter for property totalRevisions.
 void setAccessList(java.lang.String accessList)
          Setter for property accessList.
 void setBranch(java.lang.String branch)
          Setter for property branch.
 void setDescription(java.lang.String description)
          Setter for property description.
 void setFile(java.io.File file)
          Setter for property file.
 void setHeadRevision(java.lang.String headRevision)
          Setter for property headRevision.
 void setKeywordSubstitution(java.lang.String keywordSubstitution)
          Setter for property keywordSubstitution.
 void setLocks(java.lang.String locks)
          Setter for property locks.
 void setRepositoryFilename(java.lang.String repositoryFilename)
          Setter for property repositoryFilename.
 void setSelectedRevisions(java.lang.String selectedRevisions)
          Setter for property selectedRevisions.
 void setTotalRevisions(java.lang.String totalRevisions)
          Setter for property totalRevisions.
 java.lang.String toString()
          Return a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogInformation

public LogInformation()
Method Detail

getFile

public java.io.File getFile()
Getter for property file.

Specified by:
getFile in class FileInfoContainer
Returns:
Value of property file.

setFile

public void setFile(java.io.File file)
Setter for property file.

Parameters:
file - New value of property file.

getRepositoryFilename

public java.lang.String getRepositoryFilename()
Getter for property repositoryFilename.

Returns:
Value of property repositoryFilename.

setRepositoryFilename

public void setRepositoryFilename(java.lang.String repositoryFilename)
Setter for property repositoryFilename.

Parameters:
repositoryFilename - New value of property repositoryFilename.

getHeadRevision

public java.lang.String getHeadRevision()
Getter for property headRevision.

Returns:
Value of property headRevision.

setHeadRevision

public void setHeadRevision(java.lang.String headRevision)
Setter for property headRevision.

Parameters:
headRevision - New value of property headRevision.

getBranch

public java.lang.String getBranch()
Getter for property branch.

Returns:
Value of property branch.

setBranch

public void setBranch(java.lang.String branch)
Setter for property branch.

Parameters:
branch - New value of property branch.

getAccessList

public java.lang.String getAccessList()
Getter for property accessList.

Returns:
Value of property accessList.

setAccessList

public void setAccessList(java.lang.String accessList)
Setter for property accessList.

Parameters:
accessList - New value of property accessList.

getKeywordSubstitution

public java.lang.String getKeywordSubstitution()
Getter for property keywordSubstitution.

Returns:
Value of property keywordSubstitution.

setKeywordSubstitution

public void setKeywordSubstitution(java.lang.String keywordSubstitution)
Setter for property keywordSubstitution.

Parameters:
keywordSubstitution - New value of property keywordSubstitution.

getTotalRevisions

public java.lang.String getTotalRevisions()
Getter for property totalRevisions.

Returns:
Value of property totalRevisions.

setTotalRevisions

public void setTotalRevisions(java.lang.String totalRevisions)
Setter for property totalRevisions.

Parameters:
totalRevisions - New value of property totalRevisions.

getSelectedRevisions

public java.lang.String getSelectedRevisions()
Getter for property selectedRevisions.

Returns:
Value of property selectedRevisions.

setSelectedRevisions

public void setSelectedRevisions(java.lang.String selectedRevisions)
Setter for property selectedRevisions.

Parameters:
selectedRevisions - New value of property selectedRevisions.

getDescription

public java.lang.String getDescription()
Getter for property description.

Returns:
Value of property description.

setDescription

public void setDescription(java.lang.String description)
Setter for property description.

Parameters:
description - New value of property description.

getLocks

public java.lang.String getLocks()
Getter for property locks.

Returns:
Value of property locks.

setLocks

public void setLocks(java.lang.String locks)
Setter for property locks.

Parameters:
locks - New value of property locks.

addRevision

public void addRevision(LogInformation.Revision newRevision)
adds a revision info to the LogInformation instance


getRevisionList

public java.util.List getRevisionList()
return the all revisions attached to this log (if more sophisticated method are supplied, this might get obsolete)


getRevision

public LogInformation.Revision getRevision(java.lang.String number)
Search the revisions by number of revision. If not found, return null.


addSymbolicName

public void addSymbolicName(java.lang.String symName,
                            java.lang.String revisionNumber)
Add a symbolic name to the list of names and attaches it to a revision number.


getAllSymbolicNames

public java.util.List getAllSymbolicNames()

getSymNamesForRevision

public java.util.List getSymNamesForRevision(java.lang.String revNumber)
Search the symbolic names by number of revision. If not found, return null.


getSymName

public LogInformation.SymName getSymName(java.lang.String symName)
Search the symbolic names by name of tag (symbolic name). If not found, return null.


createNewRevision

public LogInformation.Revision createNewRevision(java.lang.String number)

toString

public java.lang.String toString()
Return a string representation of this object. Useful for debugging.

Overrides:
toString in class java.lang.Object

 

Built on August 7 2008.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.