|
Drools :: Eclipse :: Webdav for Guvnor tools 6.0.0.Alpha7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.webdav.internal.kernel.LocatorFactory
public class LocatorFactory
| Constructor Summary | |
|---|---|
LocatorFactory()
|
|
| Method Summary | |
|---|---|
ILocator |
newLocator(String resourceURL)
Returns a locator with the given resource URL that (implicitly) uses the standard way of resolving resource URLs. |
ILocator |
newLocator(String resourceURL,
String label)
Deprecated. -- not really deprecated, just a warning the second argument used to be the workspace URL but is now a version label! |
ILocator |
newStableLocator(String resourceURL)
Returns a locator given a stable resource URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocatorFactory()
| Method Detail |
|---|
public ILocator newLocator(String resourceURL)
ILocatorFactoryVersion-unaware clients use this kind of locator exclusively.
newLocator in interface ILocatorFactoryresourceURL - the URL identifier of the resource as a
String.
public ILocator newLocator(String resourceURL,
String label)
ILocatorFactoryThis kind of locator is used only by version-aware clients. It allows a versioning client to specify a version-controlled resource URL and the label of a version in the corresponding history. The resulting locator identifies the version.
The resource URL MUST NOT be a stable URL.
newLocator in interface ILocatorFactoryresourceURL - the String representation of
the version-controlled resource URL.label - the label of the version to select from the
corresponding history.public ILocator newStableLocator(String resourceURL)
ILocatorFactoryThis kind of locator is used only by version-aware clients. The stable URL is generated by the server. Clients may reliably store the URL and use it to identify the same resource in subsequent operations. Resources identified by a stable URL cannot be moved but they may be deleted. The stable URL cannot be bound to a different resource by the client or server).
Note that locators with stable URLs cannot have also have a label.
newStableLocator in interface ILocatorFactoryresourceURL - the stable URL to a versioning resource
as a String.
|
Drools :: Eclipse :: Webdav for Guvnor tools 6.0.0.Alpha7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||