Class VcsRoot_ChangeTableConverter


  • public class VcsRoot_ChangeTableConverter
    extends Object
    Author:
    lesya Date: 01.03.2007
    • Constructor Detail

      • VcsRoot_ChangeTableConverter

        public VcsRoot_ChangeTableConverter()
    • Method Detail

      • convertVcsRootToString

        @NotNull
        public static String convertVcsRootToString​(@NotNull
                                                    VcsRootXmlConverter.VcsRoot root)
        Serializes VCS root contents without id to string
        Parameters:
        root - root to serialize
        Returns:
        string representation
        See Also:
        #convertStringToVcsRoot(long, String)
      • propertiesToString

        @NotNull
        public static String propertiesToString​(@NotNull
                                                Map<String,​String> properties,
                                                boolean scrambleSecureProps)
        Converts properties set to string, with optional scrambling of the properties
        Parameters:
        properties - map of properties values.
        scrambleSecureProps - if true, secure properties will be scrambled to avoid their reading in plain text
        Returns:
        string properties presentation.
        See Also:
        VcsUtil#stringToProperties(String), VcsRoot.SECURE_PROPERTY_PREFIX
      • isSecureProperty

        public static boolean isSecureProperty​(@NotNull
                                               String propertyName)
        Returns true if the property is secure, i.e. its value should be scrambled when property persisted.
        Parameters:
        propertyName - property name.
        Returns:
        true if property value should be scrambled.