Class SvnRemoteSetPropertyImpl
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner<V,T>
-
- org.tmatesoft.svn.core.internal.wc2.SvnRemoteOperationRunner<SVNCommitInfo,SvnRemoteSetProperty>
-
- org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteSetPropertyImpl
-
- All Implemented Interfaces:
ISVNCanceller
,ISVNEventHandler
,ISVNPropertyHandler
,ISvnOperationRunner<SVNCommitInfo,SvnRemoteSetProperty>
public class SvnRemoteSetPropertyImpl extends SvnRemoteOperationRunner<SVNCommitInfo,SvnRemoteSetProperty> implements ISVNPropertyHandler
-
-
Field Summary
-
Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller
NULL
-
Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler
UNKNOWN
-
Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNPropertyHandler
NULL
-
-
Constructor Summary
Constructors Constructor Description SvnRemoteSetPropertyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleProperty(long revision, SVNPropertyData property)
Handles a revision property.void
handleProperty(java.io.File path, SVNPropertyData property)
Handles local item's properties (located in a Working Copy).void
handleProperty(SVNURL url, SVNPropertyData property)
Handles remote item's properies (located in a repository).boolean
isApplicable(SvnRemoteSetProperty operation, SvnWcGeneration wcGeneration)
Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)protected SVNCommitInfo
run()
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnRemoteOperationRunner
getRepositoryAccess, getWcGeneration, isRevisionLocalToWc, reset
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContext
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(SvnRemoteSetProperty operation, SvnWcGeneration wcGeneration) throws SVNException
Description copied from interface:ISvnOperationRunner
Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)- Specified by:
isApplicable
in interfaceISvnOperationRunner<SVNCommitInfo,SvnRemoteSetProperty>
- Overrides:
isApplicable
in classSvnRemoteOperationRunner<SVNCommitInfo,SvnRemoteSetProperty>
- Parameters:
operation
- operation that needs runnerwcGeneration
- working copy generation- Returns:
true
if the runner is applicable, otherwisefalse
- Throws:
SVNException
-
run
protected SVNCommitInfo run() throws SVNException
- Specified by:
run
in classSvnOperationRunner<SVNCommitInfo,SvnRemoteSetProperty>
- Throws:
SVNException
-
handleProperty
public void handleProperty(java.io.File path, SVNPropertyData property) throws SVNException
Description copied from interface:ISVNPropertyHandler
Handles local item's properties (located in a Working Copy). Not called for revision properties.- Specified by:
handleProperty
in interfaceISVNPropertyHandler
- Parameters:
path
- an item's pathproperty
- an item's versioned property- Throws:
SVNException
-
handleProperty
public void handleProperty(SVNURL url, SVNPropertyData property) throws SVNException
Description copied from interface:ISVNPropertyHandler
Handles remote item's properies (located in a repository). Not called for revision properties.- Specified by:
handleProperty
in interfaceISVNPropertyHandler
- Parameters:
url
- an item's repository locationproperty
- an item's versioned property- Throws:
SVNException
-
handleProperty
public void handleProperty(long revision, SVNPropertyData property) throws SVNException
Description copied from interface:ISVNPropertyHandler
Handles a revision property. SVNWCClient's methods operating on revision properties call this method to handle properties.- Specified by:
handleProperty
in interfaceISVNPropertyHandler
- Parameters:
revision
- a repository revision whichproperty
is to be handledproperty
- a revision (unversioned) property- Throws:
SVNException
- See Also:
SVNWCClient
-
-