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

Class PublishTask



  • public class PublishTask
    extends Task
    Task that represents the information required to publish a piece of information from the authoring server to the production server.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PublishTask()
      Creates an instance of the publish task.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Integer getBatchSize() 
      java.lang.String getPullActionStatement()
      Returns the pull action statement.
      java.lang.String getPushAction()
      Returns the push action.
      java.lang.String getPushActionResource()
      Returns the push action resource.
      java.lang.String getResourceKeys()
      Returns the resource key of the published resource.
      void setBatchSize(java.lang.Integer integer) 
      void setPullActionStatement(java.lang.String pullActionStatement)
      Sets the pull action statement.
      void setPushAction(java.lang.String action)
      Sets the push action.
      void setPushActionResource(java.lang.String pushActionResource)
      Sets the push action resource.
      void setResourceKeys(java.lang.String resourceKey)
      Sets the resource key of the published resource.
      java.lang.String toString()
      Returns the string representation of the object.
      • Methods inherited from class com.ibm.commerce.context.content.resources.metadata.Task

        getName, setName
      • Methods inherited from class java.lang.Object

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

      • PublishTask

        public PublishTask()
        Creates an instance of the publish task.
    • Method Detail

      • getPullActionStatement

        public java.lang.String getPullActionStatement()
        Returns the pull action statement.
        Returns:
        The pull action statement.
      • setPullActionStatement

        public void setPullActionStatement(java.lang.String pullActionStatement)
        Sets the pull action statement.
        Parameters:
        pullActionStatement - The pull action statement.
      • getPushActionResource

        public java.lang.String getPushActionResource()
        Returns the push action resource.
        Returns:
        The push action resource.
      • setPushActionResource

        public void setPushActionResource(java.lang.String pushActionResource)
        Sets the push action resource.
        Parameters:
        pushActionResource - The push action resource.
      • getPushAction

        public java.lang.String getPushAction()
        Returns the push action.
        Returns:
        The push action.
      • setPushAction

        public void setPushAction(java.lang.String action)
        Sets the push action.
        Parameters:
        action - The push action.
      • toString

        public java.lang.String toString()
        Returns the string representation of the object.
        Overrides:
        toString in class Task
        Returns:
        The string readable version of the object.
      • getResourceKeys

        public java.lang.String getResourceKeys()
        Returns the resource key of the published resource.
        Returns:
        The resource key.
      • setResourceKeys

        public void setResourceKeys(java.lang.String resourceKey)
        Sets the resource key of the published resource.
        Parameters:
        resourceKey - The resource key.
      • getBatchSize

        public java.lang.Integer getBatchSize()
        Returns:
      • setBatchSize

        public void setBatchSize(java.lang.Integer integer)
        Parameters:
        integer -