Class SvnOldGetProperties
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner<V,T>
-
- org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner<V,T>
-
- org.tmatesoft.svn.core.internal.wc2.old.SvnOldRunner<SVNProperties,SvnGetProperties>
-
- org.tmatesoft.svn.core.internal.wc2.old.SvnOldGetProperties
-
- All Implemented Interfaces:
ISVNCanceller,ISVNEventHandler,ISVNPropertyHandler,ISvnOperationRunner<SVNProperties,SvnGetProperties>
public class SvnOldGetProperties extends SvnOldRunner<SVNProperties,SvnGetProperties> implements ISVNPropertyHandler
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.FilecurrentFileprivate SVNPropertiescurrentProperties-
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 SvnOldGetProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleProperty(long revision, SVNPropertyData property)Handles a revision property.voidhandleProperty(java.io.File path, SVNPropertyData property)Handles local item's properties (located in a Working Copy).voidhandleProperty(SVNURL url, SVNPropertyData property)Handles remote item's properies (located in a repository).booleanisApplicable(SvnGetProperties operation, SvnWcGeneration wcGeneration)Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)voidreset(SvnWcGeneration wcGeneration)Resets runner's working copy generation.protected SVNPropertiesrun()-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.old.SvnOldRunner
getWcGeneration
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner
getFirstTarget, sleepForTimestamp
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContext
-
-
-
-
Field Detail
-
currentFile
private java.io.File currentFile
-
currentProperties
private SVNProperties currentProperties
-
-
Method Detail
-
reset
public void reset(SvnWcGeneration wcGeneration)
Description copied from interface:ISvnOperationRunnerResets runner's working copy generation.- Specified by:
resetin interfaceISvnOperationRunner<SVNProperties,SvnGetProperties>- Overrides:
resetin classSvnOperationRunner<SVNProperties,SvnGetProperties>- Parameters:
wcGeneration- new working copy generation for the runner
-
isApplicable
public boolean isApplicable(SvnGetProperties operation, SvnWcGeneration wcGeneration) throws SVNException
Description copied from interface:ISvnOperationRunnerReturns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)- Specified by:
isApplicablein interfaceISvnOperationRunner<SVNProperties,SvnGetProperties>- Overrides:
isApplicablein classSvnLocalOperationRunner<SVNProperties,SvnGetProperties>- Parameters:
operation- operation that needs runnerwcGeneration- working copy generation- Returns:
trueif the runner is applicable, otherwisefalse- Throws:
SVNException
-
run
protected SVNProperties run() throws SVNException
- Specified by:
runin classSvnOperationRunner<SVNProperties,SvnGetProperties>- Throws:
SVNException
-
handleProperty
public void handleProperty(java.io.File path, SVNPropertyData property) throws SVNExceptionDescription copied from interface:ISVNPropertyHandlerHandles local item's properties (located in a Working Copy). Not called for revision properties.- Specified by:
handlePropertyin 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:ISVNPropertyHandlerHandles remote item's properies (located in a repository). Not called for revision properties.- Specified by:
handlePropertyin interfaceISVNPropertyHandler- Parameters:
url- an item's repository locationproperty- an item's versioned property- Throws:
SVNException
-
handleProperty
public void handleProperty(long revision, SVNPropertyData property) throws SVNExceptionDescription copied from interface:ISVNPropertyHandlerHandles a revision property. SVNWCClient's methods operating on revision properties call this method to handle properties.- Specified by:
handlePropertyin interfaceISVNPropertyHandler- Parameters:
revision- a repository revision whichpropertyis to be handledproperty- a revision (unversioned) property- Throws:
SVNException- See Also:
SVNWCClient
-
-