Class JobSetStepProperties

java.lang.Object
oracle.as.scheduler.JobSetStepProperties

public class JobSetStepProperties extends Object
Container for the properties for a JobSetStep.
  • Constructor Details

    • JobSetStepProperties

      public JobSetStepProperties()
      Constructs a new instance.
    • JobSetStepProperties

      public JobSetStepProperties(JobSetStepProperties source)
      Constructs an instance with the same properties as the given object.
      Parameters:
      source - the JobSet step properties to be duplicated in this object. The source may not be null.
  • Method Details

    • add

      public void add(String name, Object value)
      Adds a step property to this object. If a property by the given name already exists, its value is replaced with new value.
      Parameters:
      name - the name of the JobSetStepProperty.
      value - the value of the property. null in not allowed.
    • contains

      public boolean contains(String name)
      Checks if this object contains a property with the specified name.
      Parameters:
      name - the name of the property to check.
      Returns:
      true if the property exists, false otherwise.
    • getValue

      public Object getValue(String name)
      Gets the value of the specifed property.
      Parameters:
      name - the name of the step property whose value is to be returned.
      Returns:
      the value of the property, or null if the property is not defined in this object.
    • getNames

      public Collection<String> getNames()
      Returns a collection of the property names in this object.
      Returns:
      a collection of the JobSetStep properties in this object.
    • remove

      public void remove(String name)
      Removes a property from this object.
      Parameters:
      name - the property to be removed.
    • clear

      public void clear()
      Removes all step properties from this object.
    • equals

      public boolean equals(Object obj)
      Checks if the object is equal to this JobSetStepProperties.

      Equal means it contains exactly the same properties with the same values.

      Overrides:
      equals in class Object
      Parameters:
      obj - object to compare to this JobSetStepProperties.
      Returns:
      true if the given object is a JobSetStepProperties and it is equal to this JobSetStepProperties; else false.