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
Represents proplist operation.
Gets the
target
's properties or revision properties.
If single property has to be read, a caller should use
ISvnObjectReceiver
to fetch the property value by name.
SvnOperation.run()
returns SvnWcGeneration
of resulting working copy.
This method throws SVNException
if one of the following is true:
propertyName
starts with thesvn:wc:
prefixtarget
is not under version control
- Version:
- 1.7
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ISvnObjectReceiver<List<SvnInheritedProperties>>
private long
private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
long
Sets properties revision number, only for revision properties.boolean
Gets whether the operation changes working copyboolean
Gets whether it is revision properties.void
setRevisionNumber
(long revisionNumber) Sets properties revision number, only for revision properties.void
setRevisionProperties
(boolean revisionProperties) Sets whether it is revision properties.void
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
-
Field Details
-
revisionProperties
private boolean revisionProperties -
revisionNumber
private long revisionNumber -
inheritedPropertiesReceiver
-
-
Constructor Details
-
SvnGetProperties
-
-
Method Details
-
ensureArgumentsAreValid
- Overrides:
ensureArgumentsAreValid
in classSvnOperation<SVNProperties>
- Throws:
SVNException
-
isRevisionProperties
public boolean isRevisionProperties()Gets whether it is revision properties.- Returns:
true
if it is revision properties,true
if it istarget
's properties
-
setRevisionProperties
public void setRevisionProperties(boolean revisionProperties) Sets whether it is revision properties.- Parameters:
revisionProperties
-true
if it is revision properties,true
if 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:
isChangesWorkingCopy
in classSvnOperation<SVNProperties>
- Returns:
true
if the operation changes the working copy, otherwisefalse
-
setTargetInheritedPropertiesReceiver
public void setTargetInheritedPropertiesReceiver(ISvnObjectReceiver<List<SvnInheritedProperties>> receiver) -
getTargetInheritedPropertiesReceiver
-