public class PipelineObject extends Object implements Serializable
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.
Constructor and Description |
---|
PipelineObject() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Field> |
getFields()
Key-value pairs that define the properties of the object.
|
String |
getId()
Identifier of the object.
|
String |
getName()
Name of the object.
|
int |
hashCode() |
void |
setFields(Collection<Field> fields)
Key-value pairs that define the properties of the object.
|
void |
setId(String id)
Identifier of the object.
|
void |
setName(String name)
Name of the object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PipelineObject |
withFields(Collection<Field> fields)
Key-value pairs that define the properties of the object.
|
PipelineObject |
withFields(Field... fields)
Key-value pairs that define the properties of the object.
|
PipelineObject |
withId(String id)
Identifier of the object.
|
PipelineObject |
withName(String name)
Name of the object.
|
public String getId()
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setId(String id)
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
id
- Identifier of the object.public PipelineObject withId(String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
id
- Identifier of the object.public String getName()
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setName(String name)
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
name
- Name of the object.public PipelineObject withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
name
- Name of the object.public List<Field> getFields()
public void setFields(Collection<Field> fields)
fields
- Key-value pairs that define the properties of the object.public PipelineObject withFields(Field... fields)
Returns a reference to this object so that method calls can be chained together.
fields
- Key-value pairs that define the properties of the object.public PipelineObject withFields(Collection<Field> fields)
Returns a reference to this object so that method calls can be chained together.
fields
- Key-value pairs that define the properties of the object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.