com.ibm.wsspi.scaling.action.controller

Enum ScalingActionContext.ActionDecision

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      CANDIDATE_SELECTED
      For this decision, the scaling listener identifies which candidate or candidates are acceptable for this action using the list returned by ScalingActionContext.getCandidates.
      DEFAULT_ACTION
      The scaling controller should resolve the action in the default manner.
      SELF_ACTION
      The scaling listener will handle the scaling action.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static ScalingActionContext.ActionDecision valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ScalingActionContext.ActionDecision[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • CANDIDATE_SELECTED

        public static final ScalingActionContext.ActionDecision CANDIDATE_SELECTED
        For this decision, the scaling listener identifies which candidate or candidates are acceptable for this action using the list returned by ScalingActionContext.getCandidates. The scaling controller will use the approved candidates list for the action.
      • SELF_ACTION

        public static final ScalingActionContext.ActionDecision SELF_ACTION
        The scaling listener will handle the scaling action. The scaling controller will take no further action.
    • Method Detail

      • values

        public static ScalingActionContext.ActionDecision[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ScalingActionContext.ActionDecision c : ScalingActionContext.ActionDecision.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ScalingActionContext.ActionDecision valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null