Class SvnNgPropertiesManager
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgPropertiesManager
-
public class SvnNgPropertiesManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SvnNgPropertiesManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
categorizeProperties(SVNProperties props, SVNProperties regular, SVNProperties entry, SVNProperties working)
static void
checkPropertyName(java.lang.String propertyName, SVNPropertyValue propertyValue)
static java.util.Collection<java.lang.String>
getEffectiveIgnores(SVNWCContext context, java.io.File absPath, java.util.Collection<java.lang.String> globalIgnores)
static java.util.Collection<java.lang.String>
getGlobalIgnores(ISVNOptions options)
static java.util.Map<java.lang.String,java.lang.String>
getMatchedAutoProperties(java.lang.String fileName, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> autoProperties)
static boolean
isIgnored(java.lang.String name, java.util.Collection<java.lang.String> patterns)
static java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
parseAutoProperties(SVNPropertyValue autoProperties, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> target)
static void
setAutoProperties(SVNWCContext context, java.io.File path, SVNProperties properties, ISvnAddParameters addParameters, java.lang.Runnable onValidationError)
static void
setProperty(SVNWCContext context, java.io.File path, java.lang.String propertyName, SVNPropertyValue propertyValue, SVNDepth depth, boolean skipChecks, ISVNEventHandler eventHandler, java.util.Collection<java.lang.String> changelists)
static void
setProperty(SVNWCContext context, java.io.File path, java.lang.String propertyName, SVNPropertyValue propertyValue, SVNDepth depth, boolean skipChecks, ISVNEventHandler eventHandler, ISvnObjectReceiver<SVNPropertyData> receiver, java.util.Collection<java.lang.String> changelists)
static void
setProperty(SVNWCContext context, java.io.File path, java.lang.String propertyName, SVNPropertyValue propertyValue, ISvnPropertyValueProvider pvProvider, SVNDepth depth, boolean skipChecks, ISVNEventHandler eventHandler, ISvnObjectReceiver<SVNPropertyData> receiver, java.util.Collection<java.lang.String> changelists)
static void
setProperty(SVNWCContext context, java.io.File path, SVNNodeKind kind, java.lang.String propertyName, SVNPropertyValue value, ISvnPropertyValueProvider pvProvider, boolean skipChecks, ISVNEventHandler eventHandler, ISvnObjectReceiver<SVNPropertyData> receiver)
static void
splitAndAppend(java.util.List<java.lang.String> patterns, java.lang.String ignores)
-
-
-
Method Detail
-
getGlobalIgnores
public static java.util.Collection<java.lang.String> getGlobalIgnores(ISVNOptions options)
-
getEffectiveIgnores
public static java.util.Collection<java.lang.String> getEffectiveIgnores(SVNWCContext context, java.io.File absPath, java.util.Collection<java.lang.String> globalIgnores)
-
isIgnored
public static boolean isIgnored(java.lang.String name, java.util.Collection<java.lang.String> patterns)
-
parseAutoProperties
public static java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> parseAutoProperties(SVNPropertyValue autoProperties, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> target)
-
getMatchedAutoProperties
public static java.util.Map<java.lang.String,java.lang.String> getMatchedAutoProperties(java.lang.String fileName, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> autoProperties)
-
setProperty
public static void setProperty(SVNWCContext context, java.io.File path, java.lang.String propertyName, SVNPropertyValue propertyValue, SVNDepth depth, boolean skipChecks, ISVNEventHandler eventHandler, java.util.Collection<java.lang.String> changelists) throws SVNException
- Throws:
SVNException
-
setProperty
public static void setProperty(SVNWCContext context, java.io.File path, java.lang.String propertyName, SVNPropertyValue propertyValue, SVNDepth depth, boolean skipChecks, ISVNEventHandler eventHandler, ISvnObjectReceiver<SVNPropertyData> receiver, java.util.Collection<java.lang.String> changelists) throws SVNException
- Throws:
SVNException
-
setProperty
public static void setProperty(SVNWCContext context, java.io.File path, java.lang.String propertyName, SVNPropertyValue propertyValue, ISvnPropertyValueProvider pvProvider, SVNDepth depth, boolean skipChecks, ISVNEventHandler eventHandler, ISvnObjectReceiver<SVNPropertyData> receiver, java.util.Collection<java.lang.String> changelists) throws SVNException
- Throws:
SVNException
-
setProperty
public static void setProperty(SVNWCContext context, java.io.File path, SVNNodeKind kind, java.lang.String propertyName, SVNPropertyValue value, ISvnPropertyValueProvider pvProvider, boolean skipChecks, ISVNEventHandler eventHandler, ISvnObjectReceiver<SVNPropertyData> receiver) throws SVNException
- Throws:
SVNException
-
setAutoProperties
public static void setAutoProperties(SVNWCContext context, java.io.File path, SVNProperties properties, ISvnAddParameters addParameters, java.lang.Runnable onValidationError) throws SVNException
- Throws:
SVNException
-
checkPropertyName
public static void checkPropertyName(java.lang.String propertyName, SVNPropertyValue propertyValue) throws SVNException
- Throws:
SVNException
-
categorizeProperties
public static void categorizeProperties(SVNProperties props, SVNProperties regular, SVNProperties entry, SVNProperties working)
-
splitAndAppend
public static void splitAndAppend(java.util.List<java.lang.String> patterns, java.lang.String ignores)
-
-