org.netbeans.lib.cvsclient.command.status
Class StatusInformation

java.lang.Object
  extended by org.netbeans.lib.cvsclient.command.FileInfoContainer
      extended by org.netbeans.lib.cvsclient.command.status.StatusInformation

public class StatusInformation
extends FileInfoContainer

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


Nested Class Summary
static class StatusInformation.SymName
          An inner class storing information about a symbolic name.
 
Constructor Summary
StatusInformation()
           
 
Method Summary
 void addExistingTag(java.lang.String tagName, java.lang.String revisionNumber)
           
 java.util.List getAllExistingTags()
           
 java.io.File getFile()
          Getter for property file.
 java.lang.String getRepositoryFileName()
          Getter for property repositoryFileName.
 java.lang.String getRepositoryRevision()
          Getter for property repositoryRevision.
 FileStatus getStatus()
          Getter for property status.
 java.lang.String getStatusString()
          Returns the status as a String.
 java.lang.String getStickyDate()
          Getter for property stickyDate.
 java.lang.String getStickyOptions()
          Getter for property stickyOptions.
 java.lang.String getStickyTag()
          Getter for property stickyTag.
 StatusInformation.SymName getSymNameForTag(java.lang.String tagName)
          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 getWorkingRevision()
          Getter for property workingRevision.
 void setAllExistingTags(java.util.List tags)
           
 void setFile(java.io.File file)
          Setter for property file.
 void setRepositoryFileName(java.lang.String repositoryFileName)
          Setter for property repositoryFileName.
 void setRepositoryRevision(java.lang.String repositoryRevision)
          Setter for property repositoryRevision.
 void setStatus(FileStatus status)
          Setter for property status.
 void setStatusString(java.lang.String statusString)
          Sets the status by the specified string.
 void setStickyDate(java.lang.String stickyDate)
          Setter for property stickyDate.
 void setStickyOptions(java.lang.String stickyOptions)
          Setter for property stickyOptions.
 void setStickyTag(java.lang.String stickyTag)
          Setter for property stickyTag.
 void setWorkingRevision(java.lang.String workingRevision)
          Setter for property workingRevision.
 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

StatusInformation

public StatusInformation()
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.

getStatus

public FileStatus getStatus()
Getter for property status.

Returns:
Value of property status.

setStatus

public void setStatus(FileStatus status)
Setter for property status.

Parameters:
status - New value of property status.

getStatusString

public java.lang.String getStatusString()
Returns the status as a String. The String returned are definitely the static-final-instances.


setStatusString

public void setStatusString(java.lang.String statusString)
Sets the status by the specified string.


getWorkingRevision

public java.lang.String getWorkingRevision()
Getter for property workingRevision.

Returns:
Value of property workingRevision.

setWorkingRevision

public void setWorkingRevision(java.lang.String workingRevision)
Setter for property workingRevision.

Parameters:
workingRevision - New value of property workingRevision.

getRepositoryRevision

public java.lang.String getRepositoryRevision()
Getter for property repositoryRevision.

Returns:
Value of property repositoryRevision.

setRepositoryRevision

public void setRepositoryRevision(java.lang.String repositoryRevision)
Setter for property repositoryRevision.

Parameters:
repositoryRevision - New value of property repositoryRevision.

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:
repositoryRevision - New value of property repositoryFileName.

getStickyTag

public java.lang.String getStickyTag()
Getter for property stickyTag.

Returns:
Value of property stickyTag.

setStickyTag

public void setStickyTag(java.lang.String stickyTag)
Setter for property stickyTag.

Parameters:
stickyTag - New value of property stickyTag.

getStickyDate

public java.lang.String getStickyDate()
Getter for property stickyDate.

Returns:
Value of property stickyDate.

setStickyDate

public void setStickyDate(java.lang.String stickyDate)
Setter for property stickyDate.

Parameters:
stickyDate - New value of property stickyDate.

getStickyOptions

public java.lang.String getStickyOptions()
Getter for property stickyOptions.

Returns:
Value of property stickyOptions.

setStickyOptions

public void setStickyOptions(java.lang.String stickyOptions)
Setter for property stickyOptions.

Parameters:
stickyOptions - New value of property stickyOptions.

addExistingTag

public void addExistingTag(java.lang.String tagName,
                           java.lang.String revisionNumber)

getAllExistingTags

public java.util.List getAllExistingTags()

setAllExistingTags

public void setAllExistingTags(java.util.List tags)

getSymNamesForRevision

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


getSymNameForTag

public StatusInformation.SymName getSymNameForTag(java.lang.String tagName)
Search the symbolic names by name of tag (symbolic name). If not found, return null.


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 October 26 2010.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.