|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISVNPropertyHandler
The ISVNPropertyHandler interface should be implemented to be further provided to SVNWCClient's property managing methods for handling properties. Those methods that receive a developer's property handler as a parameter call one of the handler's handleProperty() methods on every successful setting or getting a property.
If the aim is to get a property (the following behaviour is the same for versioned and unversioned):
SVNPropertyData,
SVNWCClient| Field Summary | |
|---|---|
static ISVNPropertyHandler |
NULL
This is just a default implementation which does nothing. |
| Method Summary | |
|---|---|
void |
handleProperty(java.io.File path,
SVNPropertyData property)
Handles local item's properties (located in a Working Copy). |
void |
handleProperty(long revision,
SVNPropertyData property)
Handles a revision property. |
void |
handleProperty(SVNURL url,
SVNPropertyData property)
Handles remote item's properies (located in a repository). |
| Field Detail |
|---|
static final ISVNPropertyHandler NULL
SVNWCClient when
there's no need to take any processing on properties. For example, when only
needing to set a property without any additional handling that
property - use this default handler.
| Method Detail |
|---|
void handleProperty(java.io.File path,
SVNPropertyData property)
throws SVNException
path - an item's pathproperty - an item's versioned property
SVNException
void handleProperty(SVNURL url,
SVNPropertyData property)
throws SVNException
url - an item's repository locationproperty - an item's versioned property
SVNException
void handleProperty(long revision,
SVNPropertyData property)
throws SVNException
revision - a repository revision which property
is to be handledproperty - a revision (unversioned) property
SVNExceptionSVNWCClient
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||