Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.vcs.VCSResourceInfo Class Reference

List of all members.

Public Member Functions

 VCSResourceInfo (final String url, final String revision)
String getURL ()
String getRevision ()
int hashCode ()
boolean equals (Object obj)
String toString ()

Detailed Description

POJO to hold VCS related information associated with a resource.


Constructor & Destructor Documentation

de.fu_berlin.inf.dpp.vcs.VCSResourceInfo.VCSResourceInfo ( final String  url,
final String  revision 
)

Creates a new VCSResourceInfo object with the given URL and revision.

Parameters:
url
revision

Member Function Documentation

boolean de.fu_berlin.inf.dpp.vcs.VCSResourceInfo.equals ( Object  obj)
String de.fu_berlin.inf.dpp.vcs.VCSResourceInfo.getRevision ( )

Returns the revision of the resource as string.

Returns:
the revision of the resource, or null if not available
String de.fu_berlin.inf.dpp.vcs.VCSResourceInfo.getURL ( )

Returns the URL of the remote resource in the repository.

Returns:
the URL of the remote resource in the repository, or null if not available
int de.fu_berlin.inf.dpp.vcs.VCSResourceInfo.hashCode ( )
String de.fu_berlin.inf.dpp.vcs.VCSResourceInfo.toString ( )
 All Classes Namespaces Files Functions Variables Enumerations