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.
|
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) |
first, getReceiver, initDefaults, last, receive, run, setReceiver
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
protected SvnGetProperties(SvnOperationFactory factory)
protected void ensureArgumentsAreValid() throws SVNException
ensureArgumentsAreValid
in class SvnOperation<SVNProperties>
SVNException
public 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
public void setTargetInheritedPropertiesReceiver(ISvnObjectReceiver<java.util.List<SvnInheritedProperties>> receiver)
public ISvnObjectReceiver<java.util.List<SvnInheritedProperties>> getTargetInheritedPropertiesReceiver()
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.