public class JobSetStepProperties extends Object
Constructor and Description |
---|
JobSetStepProperties()
Constructs a new instance.
|
JobSetStepProperties(JobSetStepProperties source)
Constructs an instance with the same properties as the given object.
|
Modifier and Type | Method and Description |
---|---|
void |
add(String name,
Object value)
Adds a step property to this object.
|
void |
clear()
Removes all step properties from this object.
|
boolean |
contains(String name)
Checks if this object contains a property with the specified name.
|
boolean |
equals(Object obj)
Checks if the object is equal to this JobSetStepProperties.
|
Collection |
getNames()
Returns a collection of the property names in this object.
|
Object |
getValue(String name)
Gets the value of the specifed property.
|
void |
remove(String name)
Removes a property from this object.
|
public JobSetStepProperties()
public JobSetStepProperties(JobSetStepProperties source)
source
- the JobSet step properties to be duplicated in this object.
The source may not be null.public void add(String name, Object value)
name
- the name of the JobSetStepProperty.value
- the value of the property.
null
in not allowed.public boolean contains(String name)
name
- the name of the property to check.true
if the property exists, false
otherwise.public Object getValue(String name)
name
- the name of the step property whose value is to be returned.null
if the property is not defined in this object.public Collection getNames()
public void remove(String name)
name
- the property to be removed.public void clear()
public boolean equals(Object obj)
Equal means it contains exactly the same properties with the same values.