filenet.vw.api

Class VWSimpleInstruction

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public final class VWSimpleInstruction
    extends VWInstructionDefinition
    implements java.io.Serializable
    The VWSimpleInstruction class encapsulates simple instructions in a compound step definition. In this implementation, every instruction except Rollback and WaitForEvent can be represented by a VWSimpleInstruction object. Simple instructions have fixed parameters or variable parameters which can be represented in a one-dimensional array of Strings.
    Since:
    VWWS4.20
    See Also:
    VWException, Serialized Form
    • Field Detail

      • TIMER_TYPE_DEADLINE_STR

        public static final java.lang.String TIMER_TYPE_DEADLINE_STR
        Used by the ExpirationTimeTimer instruction to retrieve the expiration time of the deadline that is defined on the activity step at the top of the execution stack.
        Since:
        CPE 5.2.0.3
        See Also:
        VWActionType#ACTION_TYPE_EXPIRATION_TIME_TIMER}, Constant Field Values
      • TIMER_TYPE_NAMED_STR

        public static final java.lang.String TIMER_TYPE_NAMED_STR
        Used by the ExpirationTimeTimer instruction to retrieve the expiration time of the specified timer.
        Since:
        CPE 5.2.0.3
        See Also:
        VWActionType#ACTION_TYPE_EXPIRATION_TIME_TIMER}, Constant Field Values
      • TIMER_TYPE_REMINDER_STR

        public static final java.lang.String TIMER_TYPE_REMINDER_STR
        Used by the ExpirationTimeTimer instruction to retrieve the expiration time of the reminder that is defined on the activity step at the top of the execution stack.
        Since:
        CPE 5.2.0.3
        See Also:
        VWActionType#ACTION_TYPE_EXPIRATION_TIME_TIMER}, Constant Field Values
    • Method Detail

      • getParams

        public java.lang.String[] getParams()
        Gets the parameters of this instruction.
        Returns:
        An array of Strings that contains the list of parameters for this instruction
      • setParams

        public void setParams(java.lang.String[] theParams)
                       throws VWException
        Changes the value of this instruction's params property.
        Parameters:
        theParams - The String array of parameters for this instruction
        Throws:
        VWException - Thrown if the length of the params array is not consistent with the number of parameters required by the action property of this instruction.
      • validate

        public void validate(VWSession theSession,
                             java.util.Vector EDefVector,
                             VWCompoundStepDefinition myStep)
                      throws VWException
        Validates this instance, appending any validation errors found to the specified Vector object. Although this method does not return a value, EDefVector will be updated to contain any validation errors found.
        Specified by:
        validate in class VWInstructionDefinition
        Parameters:
        theSession - The current VWSession object if logged on. This is needed for various parts of the validation process. This can be null; however, areas of validation requiring a logon will not be validated.
        EDefVector - A Vector to which will be added a VWValidationError object for each validation error found. This can be null; in this case, a new Vector is used.

        Note: Because validate methods having EDefVector in the signature also occur on other classes, the existing Vector can contain validation errors from previous validation calls.

        myStep - The VWCompoundStepDefinition object containing this event.
        Throws:
        VWException - Thrown if an error occurs during the validation.
      • toString

        public java.lang.String toString()
        Gets a String representing this Instruction.
        Specified by:
        toString in class VWInstructionDefinition
        Returns:
        A String representing this Instruction.

© Copyright IBM Corporation 2002, 2019. All rights reserved.