Class WorkspaceFileInfo

java.lang.Object
com.sas.lsaf.content.repository.WorkspaceFileInfo
All Implemented Interfaces:
Serializable

public class WorkspaceFileInfo extends Object implements Serializable
Provides the latest workspace file information that is related to synchronization state. This information provides the user with details about the file that resides in the workspace, independent of what the user has synchronized to their workspace from the repository.
Since:
1.7
See Also:
  • Constructor Details

    • WorkspaceFileInfo

      public WorkspaceFileInfo(String path, Date lastModifiedDate, long size)
      Initializing constructor that sets the values of all variables.

      It is not intended or recommended that the consumer of the API construct these objects.

      Parameters:
      path - the full path of the workspace file.
      lastModifiedDate - the date on which the workspace file was last modified.
      size - the size of the workspace file.
  • Method Details

    • getPath

      public String getPath()
      Gets the full path of the workspace file.
      Returns:
      The full path of the workspace file.
    • getLastModifiedDate

      public Date getLastModifiedDate()
      Gets the date on which the workspace file was last modified.
      Returns:
      The date on which the workspace file was last modified.
    • getSize

      public long getSize()
      Gets the size of the workspace file (in bytes).
      Returns:
      The size of the workspace file (in bytes).
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object