Class TestParameter

    • Method Detail

      • getLabel

        public java.lang.String getLabel()
        Returns:
        The value of the label attribute
      • getValue

        public java.lang.Object getValue()
        Returns:
        The value of the value attribute
      • getTitle

        public java.util.Optional<java.lang.String> getTitle()
        Description copied from interface: Documentable
        Returns the title. The title should be short like a headline.
        Specified by:
        getTitle in interface Documentable
        Returns:
        The value of the title attribute
      • getDescription

        public java.util.Optional<java.lang.String> getDescription()
        Description copied from interface: Documentable
        Returns a description which is more detailed than the title.
        Specified by:
        getDescription in interface Documentable
        Returns:
        The value of the description attribute
      • getName

        public java.lang.String getName()
        Description copied from interface: NamedElement
        Returns the name.
        Specified by:
        getName in interface NamedElement
        Returns:
        The value of the name attribute
      • equals

        @Pure
        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        @Pure
        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        @Pure
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • build

        public static TestParameter build​(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestParameter.Builder> init)
        Creates an immutable instance of TestParameter. The values can be initialized by using the init parameter.
        Parameters:
        init - The initializer
        Returns:
        An immutable TestParameter instance
        Throws:
        java.lang.IllegalStateException - if any required attributes are missing
      • copy

        public TestParameter copy​(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestParameter.Builder> init)
        Creates an immutable copy of this instance. Uses accessors to get values to initialize the new immutable instance. The values can be modified by using the init parameter.
        Parameters:
        init - The initializer
        Returns:
        A copied immutable TestParameter instance