|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.resource.repository.WorkspaceFileInfo
public class WorkspaceFileInfo
Provides the latest workspace file information related to synchronization state. This provides the user with information about the file that currently resides in the workspace, independent of what the user has synchronized to their workspace from the repository.
RepositoryResourceService.getSynchronizationInfo(String)
,
SynchronizationInfo.getWorkspaceFileInfo()
,
Serialized FormConstructor Summary | |
---|---|
WorkspaceFileInfo(String path,
Date lastModifiedDate,
long size)
Initializing constructor which sets the values of all variables. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one. |
Date |
getLastModifiedDate()
Returns the last date this workspace file was modified. |
String |
getPath()
Returns the full path of this workspace file. |
long |
getSize()
Returns the size of this workspace file (in bytes). |
int |
hashCode()
Return a hash code value for the object. |
String |
toString()
Return a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WorkspaceFileInfo(String path, Date lastModifiedDate, long size)
It is not intended or recommended that the consumer of the API construct these objects. They should only be
retrieved from service calls such as RepositoryResourceService.getSynchronizationInfo(String)
.
path
- The full path of the workspace file.lastModifiedDate
- The date the workspace file was last modified.size
- The size of the workspace file.Method Detail |
---|
public String getPath()
public Date getLastModifiedDate()
public long getSize()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |