Class RegisterNodetypes

    • Field Detail

      • CND_OPTIONAL_PREFIX

        public static final String CND_OPTIONAL_PREFIX
        Optional prefix used at the beginning of CND lines, to avoid conflicts with Sling provisioning model parser. If present at the beginning of CND lines, this string is removed.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RegisterNodetypes

        public RegisterNodetypes​(String cndStatements)
    • Method Detail

      • asRepoInitString

        @NotNull
        public @NotNull String asRepoInitString()
        Description copied from class: Operation
        Converts this operation instance to a RepoInit string representation including the current operation parameters. The representation must be parsable back into an equivalent operation and must end with a OS-compatible line separator.
        Specified by:
        asRepoInitString in class Operation
        Returns:
        the repoinit string for the operation
      • getCndStatements

        public String getCndStatements()