Class AbstractResourceDSCComment

    • Constructor Detail

      • AbstractResourceDSCComment

        public AbstractResourceDSCComment()
        Creates a new instance
      • AbstractResourceDSCComment

        public AbstractResourceDSCComment​(PSResource resource)
        Creates a new instance for a given PSResource instance
        Parameters:
        resource - the resource
    • Method Detail

      • getResource

        public PSResource getResource()
        Returns the associated PSResource.
        Returns:
        the resource
      • hasValues

        public boolean hasValues()
        Indicates whether this DSC comment has values.
        Returns:
        true if the DSC comment has values
      • parseValue

        public void parseValue​(java.lang.String value)
        Parses the value of the DSC comment.
        Parameters:
        value - the value