com.ibm.commerce.context.content.resources.metadata

Class Task

  • java.lang.Object
    • com.ibm.commerce.context.content.resources.metadata.Task
  • Direct Known Subclasses:
    CommitTask, PublishTask


    public abstract class Task
    extends java.lang.Object
    Class to represent an abstract Task that any request object will contain.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Task()
      Constructor for Task.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getName()
      Returns the task name.
      void setName(java.lang.String name)
      Sets the task name.
      java.lang.String toString()
      Returns the string representation of the object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Task

        public Task()
        Constructor for Task.
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the task name.
        Returns:
        The task name.
      • setName

        public void setName(java.lang.String name)
        Sets the task name.
        Parameters:
        name - The task name.
      • toString

        public java.lang.String toString()
        Returns the string representation of the object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A readable string version of the object.