Package org.tigris.subversion.javahl
Class PropertyData
java.lang.Object
org.tigris.subversion.javahl.PropertyData
public class PropertyData extends Object
This class describes one property managed by Subversion.
-
Field Summary
Fields Modifier and Type Field Description static StringEOL_STYLEhow the end of line code should be treated during retrievalstatic StringEXECUTABLEflag if the file should be made excutable during retrievalstatic StringEXECUTABLE_VALUEvalue for svn:executablestatic StringEXTERNALSlist of directory managed outside of this working copystatic StringIGNORElist of filenames with wildcards which should be ignored by add and statusstatic StringKEYWORDSlist of keywords to be expanded during retrievalstatic StringMIME_TYPEmime type of the entry, used to flag binary filesstatic StringNEEDS_LOCKstatic StringREV_AUTHORthe author of the revisionstatic StringREV_DATEthe date of the revisionstatic StringREV_LOGthe log message of the revisionstatic StringREV_ORIGINAL_DATEthe original date of the revision -
Method Summary
Modifier and Type Method Description byte[]getData()Returns the byte array value of the property There is no protocol if a property is a string or a binary valueStringgetName()Returns the name of the propertyStringgetPath()Return the path of the item which owns this propertyStringgetValue()Returns the string value of the property.voidremove(boolean recurse)remove this property from subversionvoidsetValue(byte[] newValue, boolean recurse)modify the byte array value of a property The string array value is clearedvoidsetValue(String newValue, boolean recurse)modify the string value of a property The byte array value is cleared
-
Field Details
-
MIME_TYPE
mime type of the entry, used to flag binary files- See Also:
- Constant Field Values
-
IGNORE
list of filenames with wildcards which should be ignored by add and status- See Also:
- Constant Field Values
-
EOL_STYLE
how the end of line code should be treated during retrieval- See Also:
- Constant Field Values
-
KEYWORDS
list of keywords to be expanded during retrieval- See Also:
- Constant Field Values
-
EXECUTABLE
flag if the file should be made excutable during retrieval- See Also:
- Constant Field Values
-
EXECUTABLE_VALUE
value for svn:executable- See Also:
- Constant Field Values
-
EXTERNALS
list of directory managed outside of this working copy- See Also:
- Constant Field Values
-
REV_AUTHOR
the author of the revision- See Also:
- Constant Field Values
-
REV_LOG
the log message of the revision- See Also:
- Constant Field Values
-
REV_DATE
the date of the revision- See Also:
- Constant Field Values
-
REV_ORIGINAL_DATE
the original date of the revision- See Also:
- Constant Field Values
-
NEEDS_LOCK
- Since:
- 1.2 flag property if a lock is needed to modify this node
- See Also:
- Constant Field Values
-
-
Method Details
-
getName
Returns the name of the property- Returns:
- the name
-
getValue
Returns the string value of the property. There is no protocol if a property is a string or a binary value- Returns:
- the string value
-
getPath
Return the path of the item which owns this property- Returns:
- the path
-
getData
public byte[] getData()Returns the byte array value of the property There is no protocol if a property is a string or a binary value- Returns:
- the byte array value
-
setValue
modify the string value of a property The byte array value is cleared- Parameters:
newValue- the new string valuerecurse- if operation should recurse directories- Throws:
ClientException
-
setValue
modify the byte array value of a property The string array value is cleared- Parameters:
newValue- the new byte array valuerecurse- if operation should recurse directories- Throws:
ClientException
-
remove
remove this property from subversion- Parameters:
recurse- if operation should recurse directories- Throws:
ClientException
-