Class BooleanValueOption

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, RegistryContext, UserFields, XObject, Described, Map, Serializable

public final class BooleanValueOption extends Expression
A registry item that checks the boolean value of an option. If the value is true, the content of its parent registry item is resolved when activated. Its take a default "value" and an option path "optPath" as parameters.
See Also:
  • Field Details

  • Constructor Details

    • BooleanValueOption

      public BooleanValueOption()
    • BooleanValueOption

      public BooleanValueOption(String name, boolean value, String optPath)
  • Method Details

    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class Item
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class Item
      Returns:
      new instance of class of this node
    • evaluate

      public Object evaluate(RegistryContext ctx, StringMap args)
      Specified by:
      evaluate in class Expression