@Override public void set(String section, String option, String value) { configFile.setPropertyValue(section, option, value, true); }
@Override public void set(String section, String option, boolean value) { configFile.setPropertyValue(section, option, String.valueOf(value), true); }
@Override public void set(String section, String option, long value) { configFile.setPropertyValue(section, option, String.valueOf(value), true); }
/** * Removes a particular autoproperty by specifying a file name * pattern. * * @param pattern a file name pattern * @see #setAutoProperty(String, String) * */ public void deleteAutoProperty(String pattern) { getConfigFile().setPropertyValue(AUTOPROPS_GROUP, pattern, null, !myIsReadonly); }
/** * Removes a particular autoproperty by specifying a file name * pattern. * * @param pattern a file name pattern * @see #setAutoProperty(String, String) * */ public void deleteAutoProperty(String pattern) { getConfigFile().setPropertyValue(AUTOPROPS_GROUP, pattern, null, !myIsReadonly); }
/** * Sets an autoproperty - binds a file name pattern with a * string in the form of <code>"propName=propValue"</code>. * * @param pattern a file name pattern (usually containing * wildcards) * @param properties a property for <code>pattern</code> */ public void setAutoProperty(String pattern, String properties) { getConfigFile().setPropertyValue(AUTOPROPS_GROUP, pattern, properties, !myIsReadonly); }
/** * Removes a particular autoproperty by specifying a file name * pattern. * * @param pattern a file name pattern * @see #setAutoProperty(String, String) * */ public void deleteAutoProperty(String pattern) { getConfigFile().setPropertyValue(AUTOPROPS_GROUP, pattern, null, !myIsReadonly); }
/** * Sets an autoproperty - binds a file name pattern with a * string in the form of <code>"propName=propValue"</code>. * * @param pattern a file name pattern (usually containing * wildcards) * @param properties a property for <code>pattern</code> */ public void setAutoProperty(String pattern, String properties) { getConfigFile().setPropertyValue(AUTOPROPS_GROUP, pattern, properties, !myIsReadonly); }
/** * Sets an autoproperty - binds a file name pattern with a * string in the form of <code>"propName=propValue"</code>. * * @param pattern a file name pattern (usually containing * wildcards) * @param properties a property for <code>pattern</code> */ public void setAutoProperty(String pattern, String properties) { getConfigFile().setPropertyValue(AUTOPROPS_GROUP, pattern, properties, !myIsReadonly); }
public void setKeepLocks(boolean keep) { getConfigFile().setPropertyValue(MISCELLANY_GROUP, NO_UNLOCK, keep ? YES : NO, !myIsReadonly); }
public void setDiffCommand(String diffCmd) { getConfigFile().setPropertyValue(HELPERS_GROUP, DIFF_CMD, diffCmd, !myIsReadonly); }
public void setInteractiveConflictResolution(boolean interactive) { getConfigFile().setPropertyValue(MISCELLANY_GROUP, INTERACTIVE_COFLICTS, interactive ? YES : NO, !myIsReadonly); }
public void setDiffCommand(String diffCmd) { getConfigFile().setPropertyValue(HELPERS_GROUP, DIFF_CMD, diffCmd, !myIsReadonly); }
/** * Sets the value of a property from the <i>[svnkit]</i> section * of the <i>config</i> file. * * @param propertyName a SVNKit specific config property name * @param propertyValue a new value for the property; if * <span class="javakeyword">null</span> the * property is removed */ public void setPropertyValue(String propertyName, String propertyValue) { if (propertyName == null || "".equals(propertyName.trim())) { return; } getConfigFile().setPropertyValue(SVNKIT_GROUP, propertyName, propertyValue, !myIsReadonly); }
public void setKeepLocks(boolean keep) { getConfigFile().setPropertyValue(MISCELLANY_GROUP, NO_UNLOCK, keep ? YES : NO, !myIsReadonly); }
public void setInteractiveConflictResolution(boolean interactive) { getConfigFile().setPropertyValue(MISCELLANY_GROUP, INTERACTIVE_COFLICTS, interactive ? YES : NO, !myIsReadonly); }
public void setInteractiveConflictResolution(boolean interactive) { getConfigFile().setPropertyValue(MISCELLANY_GROUP, INTERACTIVE_COFLICTS, interactive ? YES : NO, !myIsReadonly); }
public void setDiffCommand(String diffCmd) { getConfigFile().setPropertyValue(HELPERS_GROUP, DIFF_CMD, diffCmd, !myIsReadonly); }
public void setKeepLocks(boolean keep) { getConfigFile().setPropertyValue(MISCELLANY_GROUP, NO_UNLOCK, keep ? YES : NO, !myIsReadonly); }
/** * Sets the value of a property from the <i>[svnkit]</i> section * of the <i>config</i> file. * * @param propertyName a SVNKit specific config property name * @param propertyValue a new value for the property; if * <span class="javakeyword">null</span> the * property is removed */ public void setPropertyValue(String propertyName, String propertyValue) { if (propertyName == null || "".equals(propertyName.trim())) { return; } getConfigFile().setPropertyValue(SVNKIT_GROUP, propertyName, propertyValue, !myIsReadonly); }