Enum Class TransportParameter.CloseAction

java.lang.Object
java.lang.Enum<TransportParameter.CloseAction>
de.iip_ecosphere.platform.transport.connectors.TransportParameter.CloseAction
All Implemented Interfaces:
Serializable, Comparable<TransportParameter.CloseAction>, Constable
Enclosing class:
TransportParameter

public static enum TransportParameter.CloseAction extends Enum<TransportParameter.CloseAction>
Automatic connector closing actions.
Author:
Holger Eichelberger, SSE
  • Enum Constant Details

  • Constructor Details

    • CloseAction

      private CloseAction()
  • Method Details

    • values

      public static TransportParameter.CloseAction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TransportParameter.CloseAction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • doClose

      public boolean doClose()
      Returns whether this close action indicates that streams/channels shall be auto-closed at all.
      Returns:
      true for auto-close, false else
    • doDelete

      public boolean doDelete()
      Returns whether this close action indicates that streams/channels shall be closed and deleted.
      Returns:
      true for delete, false else