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
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
(SvnGetProperties operation, SvnWcGeneration wcGeneration) Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)void
reset
(SvnWcGeneration wcGeneration) Resets runner's working copy generation.protected SVNProperties
run()
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
currentFile
private java.io.File currentFile -
currentProperties
-
-
Constructor Details
-
SvnOldGetProperties
public SvnOldGetProperties()
-
-
Method Details
-
reset
Description copied from interface:ISvnOperationRunner
Resets runner's working copy generation.- Specified by:
reset
in interfaceISvnOperationRunner<SVNProperties,
SvnGetProperties> - Overrides:
reset
in 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: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<SVNProperties,
SvnGetProperties> - Overrides:
isApplicable
in classSvnLocalOperationRunner<SVNProperties,
SvnGetProperties> - Parameters:
operation
- operation that needs runnerwcGeneration
- working copy generation- Returns:
true
if the runner is applicable, otherwisefalse
- Throws:
SVNException
-
run
- Specified by:
run
in classSvnOperationRunner<SVNProperties,
SvnGetProperties> - Throws:
SVNException
-
handleProperty
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
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
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:
-