Class PipelineObject
- All Implemented Interfaces:
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanKey-value pairs that define the properties of the object.getId()The ID of the object.getName()The name of the object.inthashCode()voidsetFields(Collection<Field> fields) Key-value pairs that define the properties of the object.voidThe ID of the object.voidThe name of the object.toString()Returns a string representation of this object; useful for testing and debugging.withFields(Field... fields) Key-value pairs that define the properties of the object.withFields(Collection<Field> fields) Key-value pairs that define the properties of the object.The ID of the object.The name of the object.
-
Constructor Details
-
PipelineObject
public PipelineObject()
-
-
Method Details
-
setId
The ID of the object.
- Parameters:
id- The ID of the object.
-
getId
The ID of the object.
- Returns:
- The ID of the object.
-
withId
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
The name of the object.
- Parameters:
name- The name of the object.
-
getName
The name of the object.
- Returns:
- The name of the object.
-
withName
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
Key-value pairs that define the properties of the object.
- Returns:
- Key-value pairs that define the properties of the object.
-
setFields
Key-value pairs that define the properties of the object.
- Parameters:
fields- Key-value pairs that define the properties of the object.
-
withFields
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)orwithFields(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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-