com.ibm.commerce.negotiation.commands

Class ProcessRunner

  • java.lang.Object
    • com.ibm.commerce.negotiation.commands.ProcessRunner
  • All Implemented Interfaces:
    java.lang.Runnable


    public class ProcessRunner
    extends java.lang.Object
    implements java.lang.Runnable
    Process runner class.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ProcessRunner() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean completed()
      Returns this process completion status.
      java.lang.Object getException()
      Returns the exception generated by this process.
      void run()
      Create and execute the specified task command to process the Auctions/Bids
      void setCommandContext(CommandContext context)
      Sets the context for the command to be executed when this process runs.
      void setCommandName(java.lang.String commandName)
      Sets the fully qualified name of the command to be executed.
      void setDataHandle(java.lang.Object handle)
      Sets the handle for the data.
      void setErrorTaskName(java.lang.String errorTaskName)
      Sets this process's error task name
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProcessRunner

        public ProcessRunner()
    • Method Detail

      • completed

        public boolean completed()
        Returns this process completion status.
        Returns:
        boolean - true if the process execution completed successfully, otherwise false.
      • getException

        public java.lang.Object getException()
        Returns the exception generated by this process.
        Returns:
        Object - Exception instance, or null if no exceptions.
      • run

        public void run()
        Create and execute the specified task command to process the Auctions/Bids
        Specified by:
        run in interface java.lang.Runnable
      • setCommandContext

        public void setCommandContext(CommandContext context)
        Sets the context for the command to be executed when this process runs.
        Parameters:
        context - CommandContext - Command context
      • setCommandName

        public void setCommandName(java.lang.String commandName)
        Sets the fully qualified name of the command to be executed.
        Parameters:
        commandName - String - Fully qualified command name.
      • setDataHandle

        public void setDataHandle(java.lang.Object handle)
        Sets the handle for the data. The handle type varies based on the requirement of the user of this class.
        Parameters:
        data - Object - A handle to the data to be processed.
      • setErrorTaskName

        public void setErrorTaskName(java.lang.String errorTaskName)
        Sets this process's error task name
        Parameters:
        errorTaskName - java.lang.String