public 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 and Description |
|---|---|
protected |
SvnGetProperties(SvnOperationFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ensureArgumentsAreValid() |
long |
getRevisionNumber()
Sets properties revision number, only for revision properties.
|
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.
|
first, getReceiver, initDefaults, last, receive, run, setReceiveraddTarget, cancel, ensureEnoughTargets, ensureHomohenousTargets, getApplicableChangelists, getAuthenticationManager, getCanceller, getDepth, getEventHandler, getFirstTarget, getMaximumTargetsCount, getMinimumTargetsCount, getOperationalWorkingCopy, getOperationFactory, getOptions, getRepositoryPool, getRevision, getTargets, hasFileTargets, hasLocalTargets, hasRemoteTargets, isCancelled, isSleepForTimestamp, isUseParentWcFormat, needsHomohenousTargets, run, setApplicalbeChangelists, setDepth, setRevision, setSingleTarget, setSleepForTimestampprotected 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 false