Class SourceArguments


  • public class SourceArguments
    extends java.lang.Object
    Arguments for 'source' request.
    • Constructor Detail

      • SourceArguments

        public SourceArguments()
    • Method Detail

      • getSource

        public Source getSource()
        Specifies the source content to load. Either source.path or source.sourceReference must be specified.

        This is an optional property.

      • setSource

        public void setSource​(Source source)
        Specifies the source content to load. Either source.path or source.sourceReference must be specified.

        This is an optional property.

      • getSourceReference

        public int getSourceReference()
        The reference to the source. This is the same as source.sourceReference.

        This is provided for backward compatibility since old clients do not understand the 'source' attribute.

      • setSourceReference

        public void setSourceReference​(int sourceReference)
        The reference to the source. This is the same as source.sourceReference.

        This is provided for backward compatibility since old clients do not understand the 'source' attribute.

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object