Class ScriptBuilder

  • All Implemented Interfaces:
    net.anotheria.asg.data.Builder<Script>

    public class ScriptBuilder
    extends java.lang.Object
    implements net.anotheria.asg.data.Builder<Script>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String browserFiltering  
      protected java.lang.String content  
      protected java.lang.String file  
      protected java.util.List<java.lang.String> guards  
      protected java.lang.String link  
      protected java.lang.String name  
    • Constructor Summary

      Constructors 
      Constructor Description
      ScriptBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ScriptBuilder browserFiltering​(java.lang.String aValue)
      Sets the value of the browserFiltering attribute.
      Script build()  
      ScriptBuilder content​(java.lang.String aValue)
      Sets the value of the content attribute.
      ScriptBuilder file​(java.lang.String aValue)
      Sets the value of the file attribute.
      ScriptBuilder guards​(java.util.List<java.lang.String> aValue)
      Sets the value of the guards attribute.
      ScriptBuilder link​(java.lang.String aValue)
      Sets the value of the link attribute.
      ScriptBuilder name​(java.lang.String aValue)
      Sets the value of the name attribute.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
      • link

        protected java.lang.String link
      • content

        protected java.lang.String content
      • browserFiltering

        protected java.lang.String browserFiltering
      • guards

        protected java.util.List<java.lang.String> guards
      • file

        protected java.lang.String file
    • Constructor Detail

      • ScriptBuilder

        public ScriptBuilder()
    • Method Detail

      • name

        public ScriptBuilder name​(java.lang.String aValue)
        Sets the value of the name attribute.
      • link

        public ScriptBuilder link​(java.lang.String aValue)
        Sets the value of the link attribute.
      • content

        public ScriptBuilder content​(java.lang.String aValue)
        Sets the value of the content attribute.
      • browserFiltering

        public ScriptBuilder browserFiltering​(java.lang.String aValue)
        Sets the value of the browserFiltering attribute.
      • guards

        public ScriptBuilder guards​(java.util.List<java.lang.String> aValue)
        Sets the value of the guards attribute.
      • file

        public ScriptBuilder file​(java.lang.String aValue)
        Sets the value of the file attribute.
      • build

        public Script build()
        Specified by:
        build in interface net.anotheria.asg.data.Builder<Script>