Enum Parameter.ExchangeMode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Parameter.ExchangeMode>
    Enclosing interface:
    Parameter

    public static enum Parameter.ExchangeMode
    extends java.lang.Enum<Parameter.ExchangeMode>
    Defines how parameter values will be exchanged between TPT and the SuT.
    Author:
    Copyright (c) 2014-2020 Piketec GmbH - MIT License (MIT) - All rights reserved
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      EXCHANGE
      The value of the parameter will be written and read back.
      LOCAL
      The value of the parameter will be neither written nor read.
      READONLY
      The value of the parameter will only be read but not written.
      WRITEONLY
      The value of the parameter will be written but not read.
    • Method Summary

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

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

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

      • LOCAL

        public static final Parameter.ExchangeMode LOCAL
        The value of the parameter will be neither written nor read.
      • READONLY

        public static final Parameter.ExchangeMode READONLY
        The value of the parameter will only be read but not written.
      • EXCHANGE

        public static final Parameter.ExchangeMode EXCHANGE
        The value of the parameter will be written and read back.
      • WRITEONLY

        public static final Parameter.ExchangeMode WRITEONLY
        The value of the parameter will be written but not read.
    • Method Detail

      • values

        public static Parameter.ExchangeMode[] 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 (Parameter.ExchangeMode c : Parameter.ExchangeMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Parameter.ExchangeMode 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