public class Script
extends AbstractUIElement
A pojo representing a script element
  • Field Details

    • src

      private String src
      The src attribute of the script
    • type

      private String type
      The type attribute of the script
    • defer

      private String defer
      The defer attribute of the script
    • integrity

      private String integrity
      The integrity attribute of the script
    • noModule

      private Boolean noModule
      The nomodule attribute of the script
    • referrerPolicy

      private String referrerPolicy
      The referrerpolicy attribute of the script
    • async

      private String async
      The async attribute of the script
    • crossOrigin

      private String crossOrigin
      The crossorigin attribute of the script
  • Constructor Details

  • Method Details

    • builder

      public static Script.ScriptBuilder builder()
    • setType

      public void setType​(String type)
    • setDefer

      public void setDefer​(String defer)
    • setIntegrity

      public void setIntegrity​(String integrity)
    • setNoModule

      public void setNoModule​(Boolean noModule)
    • setReferrerPolicy

      public void setReferrerPolicy​(String referrerPolicy)
    • setAsync

      public void setAsync​(String async)
    • setCrossOrigin

      public void setCrossOrigin​(String crossOrigin)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual​(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getSrc

      public String getSrc()
    • getType

      public String getType()
    • getDefer

      public String getDefer()
    • getIntegrity

      public String getIntegrity()
    • getNoModule

      public Boolean getNoModule()
    • getReferrerPolicy

      public String getReferrerPolicy()
    • getAsync

      public String getAsync()
    • getCrossOrigin

      public String getCrossOrigin()