Package org.tmatesoft.svn.core.wc2
Class SvnGetProperties
- java.lang.Object
-
- org.tmatesoft.svn.core.wc2.SvnOperation<T>
-
- org.tmatesoft.svn.core.wc2.SvnReceivingOperation<SVNProperties>
-
- org.tmatesoft.svn.core.wc2.SvnGetProperties
-
- All Implemented Interfaces:
ISvnObjectReceiver<SVNProperties>,ISvnOperationOptionsProvider
public class SvnGetProperties extends SvnReceivingOperation<SVNProperties>
Represents proplist operation. Gets thetarget's properties or revision properties. If single property has to be read, a caller should useISvnObjectReceiverto fetch the property value by name.SvnOperation.run()returnsSvnWcGenerationof resulting working copy. This method throwsSVNExceptionif one of the following is true:propertyNamestarts with thesvn:wc:prefixtargetis not under version control
- Version:
- 1.7
- Author:
- TMate Software Ltd.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSvnGetProperties(SvnOperationFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidensureArgumentsAreValid()longgetRevisionNumber()Sets properties revision number, only for revision properties.ISvnObjectReceiver<java.util.List<SvnInheritedProperties>>getTargetInheritedPropertiesReceiver()booleanisChangesWorkingCopy()Gets whether the operation changes working copybooleanisRevisionProperties()Gets whether it is revision properties.voidsetRevisionNumber(long revisionNumber)Sets properties revision number, only for revision properties.voidsetRevisionProperties(boolean revisionProperties)Sets whether it is revision properties.voidsetTargetInheritedPropertiesReceiver(ISvnObjectReceiver<java.util.List<SvnInheritedProperties>> receiver)-
Methods inherited from class org.tmatesoft.svn.core.wc2.SvnReceivingOperation
first, getReceiver, initDefaults, last, receive, run, setReceiver
-
Methods inherited from class org.tmatesoft.svn.core.wc2.SvnOperation
addTarget, cancel, ensureEnoughTargets, ensureHomohenousTargets, getApplicableChangelists, getAuthenticationManager, getCanceller, getDepth, getEventHandler, getFirstTarget, getMaximumTargetsCount, getMinimumTargetsCount, getOperationalWorkingCopy, getOperationFactory, getOptions, getRepositoryPool, getRevision, getSqliteJournalMode, getTargets, hasFileTargets, hasLocalTargets, hasRemoteTargets, isCancelled, isSleepForTimestamp, isUseParentWcFormat, needsHomohenousTargets, run, setApplicalbeChangelists, setDepth, setRevision, setSingleTarget, setSleepForTimestamp, setSqliteJournalMode
-
-
-
-
Constructor Detail
-
SvnGetProperties
protected SvnGetProperties(SvnOperationFactory factory)
-
-
Method Detail
-
ensureArgumentsAreValid
protected void ensureArgumentsAreValid() throws SVNException- Overrides:
ensureArgumentsAreValidin classSvnOperation<SVNProperties>- Throws:
SVNException
-
isRevisionProperties
public boolean isRevisionProperties()
Gets whether it is revision properties.- Returns:
trueif it is revision properties,trueif it istarget's properties
-
setRevisionProperties
public void setRevisionProperties(boolean revisionProperties)
Sets whether it is revision properties.- Parameters:
revisionProperties-trueif it is revision properties,trueif it istarget's properties
-
getRevisionNumber
public long getRevisionNumber()
Sets properties revision number, only for revision properties.- Returns:
- revision number of properties
-
setRevisionNumber
public void setRevisionNumber(long revisionNumber)
Sets properties revision number, only for revision properties.- Parameters:
revisionNumber- revision number of properties
-
isChangesWorkingCopy
public boolean isChangesWorkingCopy()
Gets whether the operation changes working copy- Overrides:
isChangesWorkingCopyin classSvnOperation<SVNProperties>- Returns:
trueif the operation changes the working copy, otherwisefalse
-
setTargetInheritedPropertiesReceiver
public void setTargetInheritedPropertiesReceiver(ISvnObjectReceiver<java.util.List<SvnInheritedProperties>> receiver)
-
getTargetInheritedPropertiesReceiver
public ISvnObjectReceiver<java.util.List<SvnInheritedProperties>> getTargetInheritedPropertiesReceiver()
-
-