Class TypeDeclarationOptions


  • public class TypeDeclarationOptions
    extends java.lang.Object
    Object that represents options associated with JavaScriptDeclaration. These can be used to ask questions:
    1. Which script the JavaScriptDeclaration belongs to.
    2. Whether the JavaScriptDeclaration supports searchable hyperlinks
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeDeclarationOptions​(java.lang.String ownerScriptName, boolean supportsLinks, boolean preProcessing)  
    • Field Detail

      • ownerScriptName

        private java.lang.String ownerScriptName
      • supportsLinks

        private boolean supportsLinks
      • preProcessing

        private boolean preProcessing
    • Constructor Detail

      • TypeDeclarationOptions

        public TypeDeclarationOptions​(java.lang.String ownerScriptName,
                                      boolean supportsLinks,
                                      boolean preProcessing)
    • Method Detail

      • getOwnerScriptName

        public java.lang.String getOwnerScriptName()
        Returns:
        the owner script name
      • setOwnerScriptName

        public void setOwnerScriptName​(java.lang.String ownerScriptName)
        set the owner script name
      • isSupportsLinks

        public boolean isSupportsLinks()
        Returns:
        whether the type declaration supports hyperlinks
      • setSupportsLinks

        public void setSupportsLinks​(boolean supportsLinks)
        set whether the type declaration supports hyperlinks
      • isPreProcessing

        public boolean isPreProcessing()
        Returns:
        whether the type declaration has been created from a pre-processed script
      • setPreProcessing

        public void setPreProcessing​(boolean preProcessing)
        set whether the type declaration has been created from a pre-processed script