Class AbstractVcsPropertiesProcessor
- java.lang.Object
-
- jetbrains.buildServer.buildTriggers.vcs.AbstractVcsPropertiesProcessor
-
- All Implemented Interfaces:
PropertiesProcessor
public abstract class AbstractVcsPropertiesProcessor extends java.lang.Object implements PropertiesProcessor
Helper implementation ofPropertiesProcessor
.
-
-
Constructor Summary
Constructors Constructor Description AbstractVcsPropertiesProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkDirectoryProperty(java.lang.String propertyName, java.lang.String propertyValue, java.util.Collection<InvalidProperty> result)
protected void
checkFileProperty(java.lang.String propertyName, java.lang.String propertyValue, java.util.Collection<InvalidProperty> result)
protected void
checkIntegerProperty(java.lang.String propertyName, java.lang.String propertyValue, java.util.Collection<InvalidProperty> result)
protected void
checkPortNumberProperty(java.lang.String propertyName, java.lang.String propertyValue, java.util.Collection<InvalidProperty> result)
protected boolean
isEmpty(java.lang.String str)
protected boolean
mayContainReference(java.lang.String str)
Returns true if specified string may contain reference to a parameter.protected java.lang.Integer
parseInteger(java.lang.String str)
protected void
removePropertiesWithEmptyValues(java.util.Map<java.lang.String,java.lang.String> properties)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.PropertiesProcessor
process
-
-
-
-
Method Detail
-
removePropertiesWithEmptyValues
protected void removePropertiesWithEmptyValues(java.util.Map<java.lang.String,java.lang.String> properties)
-
checkFileProperty
protected void checkFileProperty(java.lang.String propertyName, java.lang.String propertyValue, java.util.Collection<InvalidProperty> result)
-
checkDirectoryProperty
protected void checkDirectoryProperty(java.lang.String propertyName, java.lang.String propertyValue, java.util.Collection<InvalidProperty> result)
-
checkPortNumberProperty
protected void checkPortNumberProperty(java.lang.String propertyName, java.lang.String propertyValue, java.util.Collection<InvalidProperty> result)
-
checkIntegerProperty
protected void checkIntegerProperty(java.lang.String propertyName, java.lang.String propertyValue, java.util.Collection<InvalidProperty> result)
-
isEmpty
protected boolean isEmpty(java.lang.String str)
-
mayContainReference
protected boolean mayContainReference(java.lang.String str)
Returns true if specified string may contain reference to a parameter. In this case such string is probably should not be validated.- Parameters:
str
- some string- Returns:
- see above.
-
parseInteger
protected java.lang.Integer parseInteger(java.lang.String str)
-
-