Class AbstractVcsPropertiesProcessor
- java.lang.Object
-
- jetbrains.buildServer.buildTriggers.vcs.AbstractVcsPropertiesProcessor
-
- All Implemented Interfaces:
PropertiesProcessor
public abstract class AbstractVcsPropertiesProcessor extends 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(String propertyName, String propertyValue, Collection<InvalidProperty> result)
protected void
checkFileProperty(String propertyName, String propertyValue, Collection<InvalidProperty> result)
protected void
checkIntegerProperty(String propertyName, String propertyValue, Collection<InvalidProperty> result)
protected void
checkPortNumberProperty(String propertyName, String propertyValue, Collection<InvalidProperty> result)
protected boolean
isEmpty(String str)
protected boolean
mayContainReference(String str)
Returns true if specified string may contain reference to a parameter.protected Integer
parseInteger(String str)
protected void
removePropertiesWithEmptyValues(Map<String,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(Map<String,String> properties)
-
checkFileProperty
protected void checkFileProperty(String propertyName, String propertyValue, Collection<InvalidProperty> result)
-
checkDirectoryProperty
protected void checkDirectoryProperty(String propertyName, String propertyValue, Collection<InvalidProperty> result)
-
checkPortNumberProperty
protected void checkPortNumberProperty(String propertyName, String propertyValue, Collection<InvalidProperty> result)
-
checkIntegerProperty
protected void checkIntegerProperty(String propertyName, String propertyValue, Collection<InvalidProperty> result)
-
isEmpty
protected boolean isEmpty(String str)
-
mayContainReference
protected boolean mayContainReference(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.
-
-