![]() |
Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Types | |
| enum | Type { CONNECT, DISCONNECT, SWITCH, UPDATE } |
Public Member Functions | |
| VCSActivity (User source, Type type, SPath path, String url, String directory, String param1) | |
| void | dispatch (IActivityReceiver receiver) |
| Type | getType () |
| String | getParam1 () |
| String | getURL () |
| String | getDirectory () |
| boolean | includes (IResourceActivity otherActivity) |
| String | toString () |
| int | hashCode () |
| boolean | equals (Object obj) |
Static Public Member Functions | |
| static VCSActivity | connect (ISarosSession sarosSession, IProject project, String url, String directory, String providerID) |
| static VCSActivity | disconnect (ISarosSession sarosSession, IProject project, boolean deleteContents) |
| static VCSActivity | update (ISarosSession sarosSession, IResource resource, String revision) |
| static VCSActivity | switch_ (ISarosSession sarosSession, IResource resource, String url, String revision) |
Public Attributes | |
| Vector< IResourceActivity > | containedActivity = new Vector<IResourceActivity>() |
Protected Attributes | |
| String | param1 |
| String | url |
| String | directory |
| Type | type |
Activity for VCS operations like Switch, Update.
| de.fu_berlin.inf.dpp.activities.VCSActivity.VCSActivity | ( | User | source, |
| Type | type, | ||
| SPath | path, | ||
| String | url, | ||
| String | directory, | ||
| String | param1 | ||
| ) |
| source | |
| type | Represents the VCS action that takes place |
| path | The path of the resource in the working directory |
| url | The repository root url (for Type#CONNECT); the url of the target resource (for Type#SWITCH); null otherwise. |
| directory | The path of the target directory relative to the root (for Type#CONNECT);null otherwise. |
| param1 | The provider id (for Type#CONNECT); the revision of the target resource (for Type#SWITCH and Type#UPDATE); the marker whether to delete the contents (delete if (param1 != null), for Type#DISCONNECT ). |
| static VCSActivity de.fu_berlin.inf.dpp.activities.VCSActivity.connect | ( | ISarosSession | sarosSession, |
| IProject | project, | ||
| String | url, | ||
| String | directory, | ||
| String | providerID | ||
| ) | [static] |
| static VCSActivity de.fu_berlin.inf.dpp.activities.VCSActivity.disconnect | ( | ISarosSession | sarosSession, |
| IProject | project, | ||
| boolean | deleteContents | ||
| ) | [static] |
| void de.fu_berlin.inf.dpp.activities.VCSActivity.dispatch | ( | IActivityReceiver | receiver | ) |
| boolean de.fu_berlin.inf.dpp.activities.VCSActivity.equals | ( | Object | obj | ) |
Reimplemented from de.fu_berlin.inf.dpp.activities.AbstractResourceActivity.
| String de.fu_berlin.inf.dpp.activities.VCSActivity.getDirectory | ( | ) |
The path of the target directory relative to the repository root
null otherwise. | String de.fu_berlin.inf.dpp.activities.VCSActivity.getParam1 | ( | ) |
Various purposes depending on getType()
if (param1 != null), for Type#DISCONNECT ). | Type de.fu_berlin.inf.dpp.activities.VCSActivity.getType | ( | ) |
Represents the VCS action that takes place
| String de.fu_berlin.inf.dpp.activities.VCSActivity.getURL | ( | ) |
The repository url (or part of it), depends on getType()
null otherwise. | int de.fu_berlin.inf.dpp.activities.VCSActivity.hashCode | ( | ) |
Reimplemented from de.fu_berlin.inf.dpp.activities.AbstractResourceActivity.
| boolean de.fu_berlin.inf.dpp.activities.VCSActivity.includes | ( | IResourceActivity | otherActivity | ) |
| static VCSActivity de.fu_berlin.inf.dpp.activities.VCSActivity.switch_ | ( | ISarosSession | sarosSession, |
| IResource | resource, | ||
| String | url, | ||
| String | revision | ||
| ) | [static] |
| String de.fu_berlin.inf.dpp.activities.VCSActivity.toString | ( | ) |
| static VCSActivity de.fu_berlin.inf.dpp.activities.VCSActivity.update | ( | ISarosSession | sarosSession, |
| IResource | resource, | ||
| String | revision | ||
| ) | [static] |
| Vector<IResourceActivity> de.fu_berlin.inf.dpp.activities.VCSActivity.containedActivity = new Vector<IResourceActivity>() |
String de.fu_berlin.inf.dpp.activities.VCSActivity.directory [protected] |
String de.fu_berlin.inf.dpp.activities.VCSActivity.param1 [protected] |
Type de.fu_berlin.inf.dpp.activities.VCSActivity.type [protected] |
String de.fu_berlin.inf.dpp.activities.VCSActivity.url [protected] |