ISvnObjectReceiver<SVNProperties>, ISvnOperationOptionsProviderpublic class SvnGetProperties extends SvnReceivingOperation<SVNProperties>
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 the
svn:wc: prefix
target is not under version control
| Modifier | Constructor | Description |
|---|---|---|
protected |
SvnGetProperties(SvnOperationFactory factory) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
ensureArgumentsAreValid() |
|
long |
getRevisionNumber() |
Sets properties revision number, only for revision properties.
|
ISvnObjectReceiver<java.util.List<SvnInheritedProperties>> |
getTargetInheritedPropertiesReceiver() |
|
boolean |
isChangesWorkingCopy() |
Gets whether the operation changes working copy
|
boolean |
isRevisionProperties() |
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 |
setTargetInheritedPropertiesReceiver(ISvnObjectReceiver<java.util.List<SvnInheritedProperties>> receiver) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTarget, 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, setSqliteJournalModefirst, getReceiver, initDefaults, last, receive, run, setReceiverprotected SvnGetProperties(SvnOperationFactory factory)
protected void ensureArgumentsAreValid()
throws SVNException
ensureArgumentsAreValid in class SvnOperation<SVNProperties>SVNExceptionpublic boolean isRevisionProperties()
true if it is revision properties, true if it is target's propertiespublic void setRevisionProperties(boolean revisionProperties)
revisionProperties - true if it is revision properties, true if it is target's propertiespublic long getRevisionNumber()
public void setRevisionNumber(long revisionNumber)
revisionNumber - revision number of propertiespublic boolean isChangesWorkingCopy()
isChangesWorkingCopy in class SvnOperation<SVNProperties>true if the operation changes the working copy, otherwise falsepublic void setTargetInheritedPropertiesReceiver(ISvnObjectReceiver<java.util.List<SvnInheritedProperties>> receiver)
public ISvnObjectReceiver<java.util.List<SvnInheritedProperties>> getTargetInheritedPropertiesReceiver()