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

Class CommitTask



  • public class CommitTask
    extends Task
    The metadata that represents the information required for one commit task.
    • Constructor Summary

      Constructors 
      Constructor and Description
      CommitTask()
      This is the default constructor for this class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addCommitStatement(java.lang.String commitStatement)
      This method adds a commit statement.
      java.util.List getCommitStatementList()
      This method returns the commit statements for the commit task.
      java.lang.String[] getCommitStatements()
      This method returns the commit statements for the commit task.
      java.lang.String getPlatform()
      This method returns the platform for the commit statements.
      java.lang.String getResource()
      This method returns the resource for the commit statements.
      java.lang.String getResourceKeys()
      This method returns the resource keys for the commit statements.
      boolean isGenerated()
      This method returns whether the statements should be automatically generated.
      void setIsGenerated(boolean generated)
      This method sets whether the statements should be generated.
      void setPlatform(java.lang.String platform)
      This method sets the platform for the statements.
      void setResource(java.lang.String resource)
      This method sets the resource for the statements.
      void setResourceKeys(java.lang.String resourceKeys)
      This method sets the resource keys for the statements.
      java.lang.String toString()
      This method returns a 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

      • CommitTask

        public CommitTask()
        This is the default constructor for this class. It calls the constructor from the superclass.
    • Method Detail

      • addCommitStatement

        public void addCommitStatement(java.lang.String commitStatement)
        This method adds a commit statement.
        Parameters:
        commitStatement - The commit statement.
      • getCommitStatements

        public java.lang.String[] getCommitStatements()
        This method returns the commit statements for the commit task.
        Returns:
        The commit statement.
      • getCommitStatementList

        public java.util.List getCommitStatementList()
        This method returns the commit statements for the commit task.
        Returns:
        The commit statement list.
      • toString

        public java.lang.String toString()
        This method returns a String representation of the object.
        Overrides:
        toString in class Task
        Returns:
        The readable String version of the object.
      • isGenerated

        public boolean isGenerated()
        This method returns whether the statements should be automatically generated.
        Returns:
        The statements are generated.
      • getResource

        public java.lang.String getResource()
        This method returns the resource for the commit statements.
        Returns:
        The resource.
      • getResourceKeys

        public java.lang.String getResourceKeys()
        This method returns the resource keys for the commit statements.
        Returns:
        The resource keys.
      • getPlatform

        public java.lang.String getPlatform()
        This method returns the platform for the commit statements.
        Returns:
        The platform.
      • setIsGenerated

        public void setIsGenerated(boolean generated)
        This method sets whether the statements should be generated.
        Parameters:
        isGenerated - A boolean value; true if the statements should be generated and false otherwise.
      • setResource

        public void setResource(java.lang.String resource)
        This method sets the resource for the statements.
        Parameters:
        resource - The resource.
      • setResourceKeys

        public void setResourceKeys(java.lang.String resourceKeys)
        This method sets the resource keys for the statements.
        Parameters:
        resourceKeys - The resource keys.
      • setPlatform

        public void setPlatform(java.lang.String platform)
        This method sets the platform for the statements.
        Parameters:
        platform - The platform.