Class PipelineObject

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class PipelineObject
    extends Object
    implements Serializable, Cloneable

    Contains information about a pipeline object. This can be a logical, physical, or physical attempt pipeline object. The complete set of components of a pipeline defines the pipeline.

    See Also:
    Serialized Form
    • Constructor Detail

      • PipelineObject

        public PipelineObject()
    • Method Detail

      • setId

        public void setId​(String id)

        The ID of the object.

        Parameters:
        id - The ID of the object.
      • getId

        public String getId()

        The ID of the object.

        Returns:
        The ID of the object.
      • withId

        public PipelineObject withId​(String id)

        The ID of the object.

        Parameters:
        id - The ID of the object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName​(String name)

        The name of the object.

        Parameters:
        name - The name of the object.
      • getName

        public String getName()

        The name of the object.

        Returns:
        The name of the object.
      • withName

        public PipelineObject withName​(String name)

        The name of the object.

        Parameters:
        name - The name of the object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getFields

        public List<Field> getFields()

        Key-value pairs that define the properties of the object.

        Returns:
        Key-value pairs that define the properties of the object.
      • setFields

        public void setFields​(Collection<Field> fields)

        Key-value pairs that define the properties of the object.

        Parameters:
        fields - Key-value pairs that define the properties of the object.
      • withFields

        public PipelineObject withFields​(Field... fields)

        Key-value pairs that define the properties of the object.

        NOTE: This method appends the values to the existing list (if any). Use setFields(java.util.Collection) or withFields(java.util.Collection) if you want to override the existing values.

        Parameters:
        fields - Key-value pairs that define the properties of the object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFields

        public PipelineObject withFields​(Collection<Field> fields)

        Key-value pairs that define the properties of the object.

        Parameters:
        fields - Key-value pairs that define the properties of the object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object