|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc2.SvnOperation<T> org.tmatesoft.svn.core.wc2.SvnReceivingOperation<SVNProperties> org.tmatesoft.svn.core.wc2.SvnGetProperties
public class SvnGetProperties
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 the
svn:wc:
prefix
target
is not under version control
Constructor Summary | |
---|---|
protected |
SvnGetProperties(SvnOperationFactory factory)
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.tmatesoft.svn.core.wc2.SvnReceivingOperation |
---|
first, getReceiver, initDefaults, last, receive, run, setReceiver |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SvnGetProperties(SvnOperationFactory factory)
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |